lfnetwork.com mark read register faq members calendar

Thread: rgb2bgr Converter
Thread Tools Display Modes
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Prev Previous Post   Next Post Next
Old 08-14-2006, 01:23 PM   #1
Kaspian
Rookie
 
Kaspian's Avatar
 
Join Date: Oct 2004
Location: Europe
Posts: 50
rgb2bgr Converter

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

Last edited by Kaspian; 08-16-2006 at 01:57 AM.
Kaspian is offline   you may: quote & reply,
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > T3-M4's Astromech Droid Center > rgb2bgr Converter

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:27 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.