A color (hue) that is the inverse is the opposite or complementary hue on the color wheel from the color you are looking at. Since here we are dealing with the hues that white light can be broken down into, the opposites will not be the same as they'd be for pigmented colors (crayons, paints, etc.)
First, here's the complete hex code scale to show tonal values:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f
The absense of any particular color is "0" The hue at full strength is "f." So the opposite of "0" is "f." Just use the table below to convert the hex code of the original hue to its opposite or inverse hue.
Hue |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
a |
b |
c |
d |
e |
f |
Opposite |
f |
e |
d |
c |
b |
a |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
EXAMPLES
Hue | 287650 |
0000ff |
cc2200 |
c79031 |
Opposite | d789af |
ffff00 |
33ddff |
386fca |
|