src/Colourful/Spaces/LinearRGB/LinearRGBColor.cs
/// <summary>
/// Returns a new color that has each channel clamped. If the channel was lower than 0, it'll be 0. If it was higher than 1, it'll be 1.
/// </summary>
Returns a new color that has each channel clamped. If the channel was lower than 0, it'll be 0. If it was higher than 1, it'll be 1.
Returns a new color that has each channel clamped . If the channel was lower than 0 it ' ll be 0 . If it was higher than 1 it ' ll be 1 .
public LinearRGBColor Clamp()
        {
            var r = R.Clamp(0, 1);
            var g = G.Clamp(0, 1);
            var b = B.Clamp(0, 1);
            return new LinearRGBColor(r, g, b);
        }
public LinearRGBColor Clamp ( ) { var r = R . Clamp ( 0 , 1 ) ; var g = G . Clamp ( 0 , 1 ) ; var b = B . Clamp ( 0 , 1 ) ; return new LinearRGBColor ( r , g , b ) ; }
Returns a new color that has each channel clamped.
Returns a new color that has each channel clamped .