Byte Order In Color Definition


SteveMyres

Recommended Posts

Not really a bug, but rather just how Windows works. Windows expects colors in BGR format, with red being the least significant byte and that's how its stored in the component. However, the web standard is to follow the name "RGB" and put red first, so is what the UI presents. Alas, that leaves us programmers to deal with the difference. Most people simply use the RGB() function in DAQFactory for scripting colors.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.