Defining Colors

icon picker
HTML Colors

You don't have to use Hex Values for conditional formatting, you can use the standard set of HTML Named Colors if you'd prefer.
Coda’s gradient formula supports HTML Colors for color stops. You don’t have to use Hex Values, the standard list of 148 different color names all seem to work just fine. If you’re not familiar with HTML Named Colors, they can be really garish. Use the table on this page to find suitable colors rather than using “Blue” or “Red”.

Here’s an example

_GRADIENT(
thisRow.[Row ID],
1, "Blue",
2, "Red",
3, "Yellow"
)

What are HTML Named Colors?

Taken from .
W3C color names are names assigned by the W3C to specify colors in web pages or files. These names can be used instead of their corresponding hexadecimal value to refer to that color in an HTML file or CSS stylesheet. These names are supported by all modern web browsers and used because it's easier to remember color names than color codes.

Important Caveat!

HTML Named Colors Don’t Transition
If you define colors using HTML Named Colors, they don’t seem to transition when the row’s number column is between two color stops. In , we’ve used HTML Named Colors instead of Hex Values, and rows seem to just “Round Down” to the color stop lower than their Position column.

Generator

Let’s generate the Conditional Formatting formula for you:
Copy the below HTML Colors table across to your doc.
In your target table, add a new LOOKUP column and choose Custom Hex Values as the table to look up to.
Name your new column Color LU.
Click the Generate Formula button below
Open your target table’s Options panel, click Conditional Format
Click Add Rule and select the Formula option. Paste the code in there. You can see a video guide at the bottom of

* Note if you make any changes to the HTML Colors table, you’ll need to regenerate the Conditional Format formula, and update it on the destination table.
Clear
Generate Formula
No results from filter

HTML Colors
Name
Hex Value
Preview
Row ID
Black
#000000
1
Navy
#000080
2
DarkBlue
#00008b
3
MediumBlue
#0000cd
4
Blue
#0000ff
5
DarkGreen
#006400
6
Green
#008000
7
Teal
#008080
8
DarkCyan
#008b8b
9
DeepSkyBlue
#00bfff
10
DarkTurquoise
#00ced1
11
MediumSpringGreen
#00fa9a
12
Lime
#00ff00
13
SpringGreen
#00ff7f
14
Aqua
#00ffff
15
Cyan
#00ffff
16
MidnightBlue
#191970
17
DodgerBlue
#1e90ff
18
LightSeaGreen
#20b2aa
19
ForestGreen
#228b22
20
SeaGreen
#2e8b57
21
DarkSlateGray
#2f4f4f
22
DarkSlateGrey
#2f4f4f
23
LimeGreen
#32cd32
24
MediumSeaGreen
#3cb371
25
Turquoise
#40e0d0
26
RoyalBlue
#4169e1
27
SteelBlue
#4682b4
28
DarkSlateBlue
#483d8b
29
MediumTurquoise
#48d1cc
30
Indigo
#4b0082
31
DarkOliveGreen
#556b2f
32
CadetBlue
#5f9ea0
33
CornflowerBlue
#6495ed
34
RebeccaPurple
#663399
35
MediumAquaMarine
#66cdaa
36
DimGray
#696969
37
DimGrey
#696969
38
SlateBlue
#6a5acd
39
OliveDrab
#6b8e23
40
SlateGray
#708090
41
SlateGrey
#708090
42
LightSlateGray
#778899
43
LightSlateGrey
#778899
44
MediumSlateBlue
#7b68ee
45
LawnGreen
#7cfc00
46
Chartreuse
#7fff00
47
Aquamarine
#7fffd4
48
Maroon
#800000
49
Purple
#800080
50
Olive
#808000
51
Gray
#808080
52
Grey
#808080
53
SkyBlue
#87ceeb
54
LightSkyBlue
#87cefa
55
BlueViolet
#8a2be2
56
DarkRed
#8b0000
57
DarkMagenta
#8b008b
58
SaddleBrown
#8b4513
59
DarkSeaGreen
#8fbc8f
60
LightGreen
#90ee90
61
MediumPurple
#9370db
62
DarkViolet
#9400d3
63
PaleGreen
#98fb98
64
DarkOrchid
#9932cc
65
YellowGreen
#9acd32
66
Sienna
#a0522d
67
Brown
#a52a2a
68
DarkGray
#a9a9a9
69
DarkGrey
#a9a9a9
70
LightBlue
#add8e6
71
GreenYellow
#adff2f
72
PaleTurquoise
#afeeee
73
LightSteelBlue
#b0c4de
74
PowderBlue
#b0e0e6
75
FireBrick
#b22222
76
DarkGoldenRod
#b8860b
77
MediumOrchid
#ba55d3
78
RosyBrown
#bc8f8f
79
DarkKhaki
#bdb76b
80
Silver
#c0c0c0
81
MediumVioletRed
#c71585
82
IndianRed
#cd5c5c
83
Peru
#cd853f
84
Chocolate
#d2691e
85
Tan
#d2b48c
86
LightGray
#d3d3d3
87
LightGrey
#d3d3d3
88
Thistle
#d8bfd8
89
Orchid
#da70d6
90
GoldenRod
#daa520
91
PaleVioletRed
#db7093
92
Crimson
#dc143c
93
Gainsboro
#dcdcdc
94
Plum
#dda0dd
95
BurlyWood
#deb887
96
LightCyan
#e0ffff
97
Lavender
#e6e6fa
98
DarkSalmon
#e9967a
99
Violet
#ee82ee
100
PaleGoldenRod
#eee8aa
101
LightCoral
#f08080
102
Khaki
#f0e68c
103
AliceBlue
#f0f8ff
104
HoneyDew
#f0fff0
105
Azure
#f0ffff
106
SandyBrown
#f4a460
107
Wheat
#f5deb3
108
Beige
#f5f5dc
109
WhiteSmoke
#f5f5f5
110
MintCream
#f5fffa
111
GhostWhite
#f8f8ff
112
Salmon
#fa8072
113
AntiqueWhite
#faebd7
114
Linen
#faf0e6
115
LightGoldenRodYellow
#fafad2
116
OldLace
#fdf5e6
117
Red
#ff0000
118
Fuchsia
#ff00ff
119
Magenta
#ff00ff
120
DeepPink
#ff1493
121
OrangeRed
#ff4500
122
Tomato
#ff6347
123
HotPink
#ff69b4
124
Coral
#ff7f50
125
DarkOrange
#ff8c00
126
LightSalmon
#ffa07a
127
Orange
#ffa500
128
LightPink
#ffb6c1
129
Pink
#ffc0cb
130
Gold
#ffd700
131
PeachPuff
#ffdab9
132
NavajoWhite
#ffdead
133
Moccasin
#ffe4b5
134
Bisque
#ffe4c4
135
MistyRose
#ffe4e1
136
BlanchedAlmond
#ffebcd
137
PapayaWhip
#ffefd5
138
LavenderBlush
#fff0f5
139
SeaShell
#fff5ee
140
Cornsilk
#fff8dc
141
LemonChiffon
#fffacd
142
FloralWhite
#fffaf0
143
Snow
#fffafa
144
Yellow
#ffff00
145
LightYellow
#ffffe0
146
Ivory
#fffff0
147
White
#ffffff
148
There are no rows in this table

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.