The Wolfman Posted June 21, 2013 Share Posted June 21, 2013 I'm trying to find out the BGR color code for orange but it's like impossible to find it. Does anybody know? Link to comment Share on other sites More sharing options...
fastman92 Posted June 21, 2013 Share Posted June 21, 2013 (edited) What is GBR??? http://www.w3schools.com/tags/ref_colornames.asp See the HEX color. Or go here: http://www.colorpicker.com/ Use hex value. Value written in InterfaceEditor.ini is going to create a little-endian DWORD value that consists of 4 bytes. HealthBar.Color=$FF1D19B4 HealthBar.Color=$(Alpha : 3rd byte)(Blue: 2nd byte)(Green: 1st byte)(Red: 0th byte) In data where numbers are saved in little-endian format, more significant bits are stored on next byte values. Remember to reverse it. So if you have got #FFE4B5 It is color: red: FF green: E4 blue: B5 In Interface Editor you can also have an alpha level, the most significiant byte. in interface editor you have to put: = $FFB5E4FF. Where the first FF from the left is alpha level, $FF (255) here. Remember that in computer to hex digits will create one byte. Three or four hex digits require 2 bytes. Five or six hex digits require 3 bytes. Seven or eight hex digits require 4 bytes. That is because 2^8 = 0x100 and 0x100 is number of possible byte combinations. Byte can have a value from 0 to 255 (0x0 to 0xFF). Edited June 21, 2013 by fastman92 Link to comment Share on other sites More sharing options...
The Wolfman Posted June 21, 2013 Author Share Posted June 21, 2013 http://www.w3schools.com/tags/ref_colornames.aspSee the HEX color. Or go here: http://www.colorpicker.com/ Use hex value. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now