Main Question or Discussion Point
I have an optical sensor that outputs 4 values in the following format: [ Red, Green, Blue, IR] where each value is in lux. I want to take this output and render a color on my pc. I'm not sure how to convert this into a regular RGB (0-255)/hexcolor value. Is there a good place to start? The data sheet I have on the device doesn't mention anything about a conversion. Many thanks.