CUE.NET.Helper.ColorHelper.GetFloatB C# (CSharp) Method

GetFloatB() public static method

Converts the blue-value of the CorsairColor to a float value in the range [0..1].
public static GetFloatB ( this color ) : float
color this The color to take the blue-value from.
return float
        public static float GetFloatB(this CorsairColor color)
        {
            return color.B / 255f;
        }