Reference: Colors

Vex reference: colors.

For AI tools: this page as Markdown · the whole language in one file

NameWhat
greengreen (#22c55e)
redred (#ef4444)
blueblue (#3b82f6)
orangeorange (#f97316)
purplepurple (#a855f7)
yellowyellow (#eab308)
tealteal (#14b8a6)
pinkpink (#ec4899)
greygrey (#9ca3af)
whitewhite (#e5e7eb)
aquaaqua (#06b6d4)
limelime (#84cc16)
fuchsiafuchsia (#d946ef)
maroonmaroon (#991b1b)
navynavy (#1e3a8a)
oliveolive (#808000)
silversilver (#cbd5e1)
blackblack (#0a0a0a)
upYour candle color for up bars.
downYour 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 (#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)