Color

The color class is unity is based off an RGBA model, where the values for red, green, blue, and alpha(transparency) are specified with float values between 0 and 1. An alpha of 0 is completely transparent, while 1 is fully opaque. A color can be created with or without the alpha value specified.

Creating Color in Unity
Creating a color in CSharp:

Creating a color in JavaScript: