src/Colourful/Spaces/RGB/RGBColor.cs
/// <summary>
/// Returns channel values as 8-bit values ranging from 0 to 255.
/// </summary>
Returns channel values as 8-bit values ranging from 0 to 255.
Returns channel values as 8 - bit values ranging from 0 to 255 .
public void ToRGB8Bit(out byte r, out byte g, out byte b)
        {
            r = (byte)Round(R * 255, AwayFromZero).Clamp(0, 255);
            g = (byte)Round(G * 255, AwayFromZero).Clamp(0, 255);
            b = (byte)Round(B * 255, AwayFromZero).Clamp(0, 255);
        }
public void ToRGB8Bit ( out byte r , out byte g , out byte b ) { r = ( byte ) Round ( R * 255 , AwayFromZero ) . Clamp ( 0 , 255 ) ; g = ( byte ) Round ( G * 255 , AwayFromZero ) . Clamp ( 0 , 255 ) ; b = ( byte ) Round ( B * 255 , AwayFromZero ) . Clamp ( 0 , 255 ) ; }
Returns channel values as 8-bit values ranging from 0 to 255.
Returns channel values as 8 - bit values ranging from 0 to 255 .
byte
out