RYB/RGB color conversion functions for Lua. Inspired by question on math.stackexchange.
Converts RYB to RGB color scheme, returns triplet. Optional convertTable
can
be passed, by default uses ryb.IRISSON_RYB_TO_RGB
table, alternatively
ryb.GOSSET_RYB_TO_RGB
can be used. All colors are assumed to be normalized to 1.
Converts RGB to RYB color scheme, returns triplet. Optional convertTable
can
be passed, by default uses ryb.IRISSON_RGB_TO_RYB
table. All colors are
assumed to be normalized to 1.