iPalette

Shorthand Hex Values

Shorthand hex is a way to represent hex values using 3 characters instead of 6. The hex value must be in the format of XXYYZZ in order to be written in the shorthand version XYZ.

Examples:

FF33CC → F3C
115533 → 153
eeeeee → eee
22aa22 → 2a2