fn from_channels(channels: [Channel; 3]) -> Self {
        Self {
            red: channels[0].value(),
            green: channels[1].value(),
            blue: channels[2].value(),
        }
    }
/// Creates an RGB color from the given channels.
Creates an RGB color from the given channels.
Creates an RGB color from the given channels .
fn from_channels(channels: [Channel; 3]) -> Self {
        Self {
            red: channels[0].value(),
            green: channels[1].value(),
            blue: channels[2].value(),
        }
    }
fn from_channels ( channels : [ Channel ; 3 ] ) -> Self { Self { red : channels [ 0 ] . value ( ) , green : channels [ 1 ] . value ( ) , blue : channels [ 2 ] . value ( ) , } }
Creates an RGB color from the given channels.
Creates an RGB color from the given channels .
channels
[Channel; 3]
channels
[Channel; 3]