toRgb

fun toRgb(components: DoubleArray): RgbColor

Convert components (0..1 per channel) to sRGB.