Skip to main content
2 of 4
deleted 2 characters in body
Mr.Wizard
  • 273.1k
  • 34
  • 595
  • 1.4k

Here is another option:

hexToRGB =
  RGBColor[ FromDigits[#, 16]/255 & /@ StringTake[#, {{2, 3}, {4, 5}, {6, 7}}] ] &;

hexToRGB@"#FF8c00" // ColorSetter

Mathematica graphics

Mr.Wizard
  • 273.1k
  • 34
  • 595
  • 1.4k