[Archived] MicroStation V8i VBA Forum - RGB is BGR (conversion of colors)
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

RGB is BGR (conversion of colors)

by
Bentley Communities Legacy Member
Expert

Hi,

Working with colors I noticed that something is rotten:

When working with colors in microstation i have observed that to extract proper colors something appears reversed?
I suspected the VB function RGB(r,g,b) = long to be wrong? It seemed to work with RGB(b,g,r) !

Slight ranting: I hate the way colors are handled in uStation... Why is RGB not good enough for you!!

'Regards,
/Torben

(This post has been edited)