Search code examples
htmlcsshexhex-editors

Hexadecimal translation


I downloaded a flash player that has changeable settings. I am trying to change the color of the playlist. Problem is...it's using hex's I have never seen before. The existing hex is 0xdadada (for example, the style of hex) and when I tried to change it to #E1E1E1,which is normally a lighter grey, it came out all black.

Does anyone know of a chart or site that translates Oxdadada style hexs to the #E1E1E1 style hex?


Solution

  • Those should be the same. 0xE1E1E1 and #E1E1E1 mean the same thing. The difference is that in a Flash/Flex stylesheet you need to use the # prefix or your colors won't show up, while elsewhere you are encouraged to use 0x.

    0x prefix, by the way, signals a numerical value, and the hexadecimal value for style colors is a uint data type.