diff --git a/Source/OpenTK/Graphics/Color4.cs b/Source/OpenTK/Graphics/Color4.cs index 7534a381..0a23c57c 100644 --- a/Source/OpenTK/Graphics/Color4.cs +++ b/Source/OpenTK/Graphics/Color4.cs @@ -82,16 +82,16 @@ namespace OpenTK.Graphics /// /// Constructs a new Color4 structure from the specified components. /// - /// - /// - /// - /// + /// The red component of the new Color4 structure. + /// The green component of the new Color4 structure. + /// The blue component of the new Color4 structure. + /// The alpha component of the new Color4 structure. public Color4(byte r, byte g, byte b, byte a) { - R = r * (float)Byte.MaxValue; - G = g * (float)Byte.MaxValue; - B = b * (float)Byte.MaxValue; - A = a * (float)Byte.MaxValue; + R = r / (float)Byte.MaxValue; + G = g / (float)Byte.MaxValue; + B = b / (float)Byte.MaxValue; + A = a / (float)Byte.MaxValue; } ///