Quickly convert any hexadecimal color code (e.g., #FF00FF) into its standard RGB, FME-compatible RGB, and Mapinfo Rgb() integer representations. This online tool is essential for web design, GIS data preparation, and data visualization workflows, ensuring accurate color translation across different platforms and applications. Eliminate manual conversions and save time with this precise utility.
Formula:
To convert a hexadecimal color code like #RRGGBB to RGB (Red, Green, Blue), each pair of hexadecimal digits (RR, GG, BB) is converted to its decimal equivalent (0-255).
For example, if RR = F1:
Decimal Value = (First Hex Digit * 16) + (Second Hex Digit * 1)
R = (F * 16) + (1 * 1) = (15 * 16) + 1 = 240 + 1 = 241
The Mapinfo Rgb() Integer is calculated as:(Red * 65536) + (Green * 256) + Blue