Reference: Colors
Vex reference: colors.
For AI tools: this page as Markdown · the whole language in one file
| Name | What |
|---|---|
green | green (#22c55e) |
red | red (#ef4444) |
blue | blue (#3b82f6) |
orange | orange (#f97316) |
purple | purple (#a855f7) |
yellow | yellow (#eab308) |
teal | teal (#14b8a6) |
pink | pink (#ec4899) |
grey | grey (#9ca3af) |
white | white (#e5e7eb) |
aqua | aqua (#06b6d4) |
lime | lime (#84cc16) |
fuchsia | fuchsia (#d946ef) |
maroon | maroon (#991b1b) |
navy | navy (#1e3a8a) |
olive | olive (#808000) |
silver | silver (#cbd5e1) |
black | black (#0a0a0a) |
up | Your candle color for up bars. |
down | Your candle color for down bars. |
green
green (#22c55e)
Returns: a color
Example
1plot(close, color = green, width = 2)red
red (#ef4444)
Returns: a color
Example
1plot(close, color = red, width = 2)blue
blue (#3b82f6)
Returns: a color
Example
1plot(close, color = blue, width = 2)orange
orange (#f97316)
Returns: a color
Example
1plot(close, color = orange, width = 2)purple
purple (#a855f7)
Returns: a color
Example
1plot(close, color = purple, width = 2)yellow
yellow (#eab308)
Returns: a color
Example
1plot(close, color = yellow, width = 2)teal
teal (#14b8a6)
Returns: a color
Example
1plot(close, color = teal, width = 2)pink
pink (#ec4899)
Returns: a color
Example
1plot(close, color = pink, width = 2)grey
grey (#9ca3af)
Returns: a color
Example
1plot(close, color = grey, width = 2)white
white (#e5e7eb)
Returns: a color
Example
1plot(close, color = white, width = 2)aqua
aqua (#06b6d4)
Returns: a color
Example
1plot(close, color = aqua, width = 2)lime
lime (#84cc16)
Returns: a color
Example
1plot(close, color = lime, width = 2)fuchsia
fuchsia (#d946ef)
Returns: a color
Example
1plot(close, color = fuchsia, width = 2)maroon
maroon (#991b1b)
Returns: a color
Example
1plot(close, color = maroon, width = 2)navy
navy (#1e3a8a)
Returns: a color
Example
1plot(close, color = navy, width = 2)olive
olive (#808000)
Returns: a color
Example
1plot(close, color = olive, width = 2)silver
silver (#cbd5e1)
Returns: a color
Example
1plot(close, color = silver, width = 2)black
black (#0a0a0a)
Returns: a color
Example
1plot(close, color = black, width = 2)up
Your candle color for up bars.
Returns: a color
Example
1plot(close, color = up, width = 2)down
Your candle color for down bars.
Returns: a color
Example
1plot(close, color = down, width = 2)

