SSRS- Get Hex or int from color name

215 Views Asked by At

Is there a way in SSRS code to convert a color name to hex or 3 ints of the a RGB value? ie convert "Silver" to 0xC0C0C0 or (192,192,192).

1

There are 1 best solutions below

0
On

Thanks Alan, I was able to find it from the first link. SSRS report listing all available colors

System.Drawing.Color.FromName(my_color)