Jump to content

Home

rgb2bgr Converter


Recommended Posts

BGR (Blue, Green, Red) is an alternate arrangement of the RGB color model. It is used in KotOR area files (*.are) to define some colors <- will clarify this later.

So I made this web page, which converts RGB values or Hex code of color into BGR value and backwards.

 

It can convert:

  • RGB to Hex/BGR
  • Hex to RGB/BGR
  • BGR to RGB/Hex

You don't really need this, if you have the right knowledge and some calculator capable of decimal to hexadecimal (and backwards) conversion.

 

BGR = (Blue * 65536) + (Green * 256) + Red

BGR = take hexadecimal code of color, switch its Red and Blue values 123456 -> 563412 and convert it to decimal

Link to comment
Share on other sites

I would say that even with a working hex knowledge this utlity is good to have handy as untill you brought it up just now I don't think anybody knew that the RGB colors were backwards in the ARE file. Or if people did they just haven't mentioned it anywhere.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...