The best response to why hexadecimal values are used to represent color in computer programs is:
They are easier for humans to interpret.
Hexadecimal representation is more compact than binary, making it easier for humans to read and understand colors compared to using long binary strings. Additionally, each pair of hexadecimal digits corresponds neatly to the RGB components (red, green, blue) of a color, which simplifies interpretation.