Fledex.Color.Names.SVG (fledex v0.5.0)

View Source

Do not use this module directly, but use Fledex.Color.Names instead

Summary

Guards

Check whether the atom is a valid color name

Color Names

Defines the color rgb(250, 235, 215).

Defines the color rgb(0, 255, 255).

Defines the color rgb(127, 255, 212).

Defines the color rgb(240, 255, 255).

Defines the color rgb(245, 245, 220).

Defines the color rgb(255, 228, 196).

Defines the color rgb(0, 0, 0).

Defines the color rgb(255, 235, 205).

Defines the color rgb(0, 0, 255).

Defines the color rgb(138, 43, 226).

Defines the color rgb(165, 42, 42).

Defines the color rgb(222, 184, 135).

Defines the color rgb(95, 158, 160).

Defines the color rgb(127, 255, 0).

Defines the color rgb(210, 105, 30).

Defines the color rgb(255, 127, 80).

Defines the color rgb(100, 149, 237).

Defines the color rgb(255, 248, 220).

Defines the color rgb(220, 20, 60).

Defines the color rgb(0, 255, 255).

Defines the color rgb(0, 0, 139).

Defines the color rgb(0, 139, 139).

Defines the color rgb(184, 134, 11).

Defines the color rgb(169, 169, 169).

Defines the color rgb(0, 100, 0).

Defines the color rgb(169, 169, 169).

Defines the color rgb(189, 183, 107).

Defines the color rgb(139, 0, 139).

Defines the color rgb(85, 107, 47).

Defines the color rgb(255, 140, 0).

Defines the color rgb(153, 50, 204).

Defines the color rgb(139, 0, 0).

Defines the color rgb(233, 150, 122).

Defines the color rgb(143, 188, 143).

Defines the color rgb(72, 61, 139).

Defines the color rgb(47, 79, 79).

Defines the color rgb(47, 79, 79).

Defines the color rgb(0, 206, 209).

Defines the color rgb(148, 0, 211).

Defines the color rgb(255, 20, 147).

Defines the color rgb(0, 191, 255).

Defines the color rgb(105, 105, 105).

Defines the color rgb(105, 105, 105).

Defines the color rgb(30, 144, 255).

Defines the color rgb(178, 34, 34).

Defines the color rgb(255, 250, 240).

Defines the color rgb(34, 139, 34).

Defines the color rgb(255, 0, 255).

Defines the color rgb(220, 220, 220).

Defines the color rgb(248, 248, 255).

Defines the color rgb(255, 215, 0).

Defines the color rgb(218, 165, 32).

Defines the color rgb(128, 128, 128).

Defines the color rgb(0, 128, 0).

Defines the color rgb(173, 255, 47).

Defines the color rgb(128, 128, 128).

Defines the color rgb(240, 255, 240).

Defines the color rgb(255, 105, 180).

Defines the color rgb(205, 92, 92).

Defines the color rgb(75, 0, 130).

Defines the color rgb(255, 255, 240).

Defines the color rgb(240, 230, 140).

Defines the color rgb(230, 230, 250).

Defines the color rgb(255, 240, 245).

Defines the color rgb(124, 252, 0).

Defines the color rgb(255, 250, 205).

Defines the color rgb(173, 216, 230).

Defines the color rgb(240, 128, 128).

Defines the color rgb(224, 255, 255).

Defines the color rgb(250, 250, 210).

Defines the color rgb(211, 211, 211).

Defines the color rgb(144, 238, 144).

Defines the color rgb(211, 211, 211).

Defines the color rgb(255, 182, 193).

Defines the color rgb(255, 160, 122).

Defines the color rgb(32, 178, 170).

Defines the color rgb(135, 206, 250).

Defines the color rgb(119, 136, 153).

Defines the color rgb(119, 136, 153).

Defines the color rgb(176, 196, 222).

Defines the color rgb(255, 255, 224).

Defines the color rgb(0, 255, 0).

Defines the color rgb(50, 205, 50).

Defines the color rgb(250, 240, 230).

Defines the color rgb(255, 0, 255).

Defines the color rgb(128, 0, 0).

Defines the color rgb(102, 205, 170).

Defines the color rgb(0, 0, 205).

Defines the color rgb(186, 85, 211).

Defines the color rgb(147, 112, 219).

Defines the color rgb(60, 179, 113).

Defines the color rgb(123, 104, 238).

Defines the color rgb(0, 250, 154).

Defines the color rgb(72, 209, 204).

Defines the color rgb(199, 21, 133).

Defines the color rgb(25, 25, 112).

Defines the color rgb(245, 255, 250).

Defines the color rgb(255, 228, 225).

Defines the color rgb(255, 228, 181).

Defines the color rgb(255, 222, 173).

Defines the color rgb(0, 0, 128).

Defines the color rgb(253, 245, 230).

Defines the color rgb(128, 128, 0).

Defines the color rgb(107, 142, 35).

Defines the color rgb(255, 165, 0).

Defines the color rgb(255, 69, 0).

Defines the color rgb(218, 112, 214).

Defines the color rgb(238, 232, 170).

Defines the color rgb(152, 251, 152).

Defines the color rgb(175, 238, 238).

Defines the color rgb(219, 112, 147).

Defines the color rgb(255, 239, 213).

Defines the color rgb(255, 218, 185).

Defines the color rgb(205, 133, 63).

Defines the color rgb(255, 192, 203).

Defines the color rgb(221, 160, 221).

Defines the color rgb(176, 224, 230).

Defines the color rgb(128, 0, 128).

Defines the color rgb(255, 0, 0).

Defines the color rgb(188, 143, 143).

Defines the color rgb(65, 105, 225).

Defines the color rgb(139, 69, 19).

Defines the color rgb(250, 128, 114).

Defines the color rgb(244, 164, 96).

Defines the color rgb(46, 139, 87).

Defines the color rgb(255, 245, 238).

Defines the color rgb(160, 82, 45).

Defines the color rgb(192, 192, 192).

Defines the color rgb(135, 206, 235).

Defines the color rgb(106, 90, 205).

Defines the color rgb(112, 128, 144).

Defines the color rgb(112, 128, 144).

Defines the color rgb(255, 250, 250).

Defines the color rgb(0, 255, 127).

Defines the color rgb(70, 130, 180).

Defines the color rgb(210, 180, 140).

Defines the color rgb(0, 128, 128).

Defines the color rgb(216, 191, 216).

Defines the color rgb(255, 99, 71).

Defines the color rgb(64, 224, 208).

Defines the color rgb(238, 130, 238).

Defines the color rgb(245, 222, 179).

Defines the color rgb(255, 255, 255).

Defines the color rgb(245, 245, 245).

Defines the color rgb(255, 255, 0).

Defines the color rgb(154, 205, 50).

Types

The allowed color names

Functions

Get all the data about the predefined colors

Get a list of all the predefined color (atom) names.

Guards

is_color_name(atom)

(macro)

Check whether the atom is a valid color name

Color Names

antiquewhite(what \\ :hex)

Defines the color rgb(250, 235, 215).

aqua(what \\ :hex)

Defines the color rgb(0, 255, 255).

aquamarine(what \\ :hex)

Defines the color rgb(127, 255, 212).

azure(what \\ :hex)

Defines the color rgb(240, 255, 255).

beige(what \\ :hex)

Defines the color rgb(245, 245, 220).

bisque(what \\ :hex)

Defines the color rgb(255, 228, 196).

black(what \\ :hex)

Defines the color rgb(0, 0, 0).

blanchedalmond(what \\ :hex)

Defines the color rgb(255, 235, 205).

blue(what \\ :hex)

Defines the color rgb(0, 0, 255).

blueviolet(what \\ :hex)

Defines the color rgb(138, 43, 226).

brown(what \\ :hex)

Defines the color rgb(165, 42, 42).

burlywood(what \\ :hex)

Defines the color rgb(222, 184, 135).

cadetblue(what \\ :hex)

Defines the color rgb(95, 158, 160).

chartreuse(what \\ :hex)

Defines the color rgb(127, 255, 0).

chocolate(what \\ :hex)

Defines the color rgb(210, 105, 30).

coral(what \\ :hex)

Defines the color rgb(255, 127, 80).

cornflowerblue(what \\ :hex)

Defines the color rgb(100, 149, 237).

cornsilk(what \\ :hex)

Defines the color rgb(255, 248, 220).

crimson(what \\ :hex)

Defines the color rgb(220, 20, 60).

cyan(what \\ :hex)

Defines the color rgb(0, 255, 255).

darkblue(what \\ :hex)

Defines the color rgb(0, 0, 139).

darkcyan(what \\ :hex)

Defines the color rgb(0, 139, 139).

darkgoldenrod(what \\ :hex)

Defines the color rgb(184, 134, 11).

darkgray(what \\ :hex)

Defines the color rgb(169, 169, 169).

darkgreen(what \\ :hex)

Defines the color rgb(0, 100, 0).

darkgrey(what \\ :hex)

Defines the color rgb(169, 169, 169).

darkkhaki(what \\ :hex)

Defines the color rgb(189, 183, 107).

darkmagenta(what \\ :hex)

Defines the color rgb(139, 0, 139).

darkolivegreen(what \\ :hex)

Defines the color rgb(85, 107, 47).

darkorange(what \\ :hex)

Defines the color rgb(255, 140, 0).

darkorchid(what \\ :hex)

Defines the color rgb(153, 50, 204).

darkred(what \\ :hex)

Defines the color rgb(139, 0, 0).

darksalmon(what \\ :hex)

Defines the color rgb(233, 150, 122).

darkseagreen(what \\ :hex)

Defines the color rgb(143, 188, 143).

darkslateblue(what \\ :hex)

Defines the color rgb(72, 61, 139).

darkslategray(what \\ :hex)

Defines the color rgb(47, 79, 79).

darkslategrey(what \\ :hex)

Defines the color rgb(47, 79, 79).

darkturquoise(what \\ :hex)

Defines the color rgb(0, 206, 209).

darkviolet(what \\ :hex)

Defines the color rgb(148, 0, 211).

deeppink(what \\ :hex)

Defines the color rgb(255, 20, 147).

deepskyblue(what \\ :hex)

Defines the color rgb(0, 191, 255).

dimgray(what \\ :hex)

Defines the color rgb(105, 105, 105).

dimgrey(what \\ :hex)

Defines the color rgb(105, 105, 105).

dodgerblue(what \\ :hex)

Defines the color rgb(30, 144, 255).

firebrick(what \\ :hex)

Defines the color rgb(178, 34, 34).

floralwhite(what \\ :hex)

Defines the color rgb(255, 250, 240).

forestgreen(what \\ :hex)

Defines the color rgb(34, 139, 34).

fuchsia(what \\ :hex)

Defines the color rgb(255, 0, 255).

gainsboro(what \\ :hex)

Defines the color rgb(220, 220, 220).

ghostwhite(what \\ :hex)

Defines the color rgb(248, 248, 255).

gold(what \\ :hex)

Defines the color rgb(255, 215, 0).

goldenrod(what \\ :hex)

Defines the color rgb(218, 165, 32).

gray(what \\ :hex)

Defines the color rgb(128, 128, 128).

green(what \\ :hex)

Defines the color rgb(0, 128, 0).

greenyellow(what \\ :hex)

Defines the color rgb(173, 255, 47).

grey(what \\ :hex)

Defines the color rgb(128, 128, 128).

honeydew(what \\ :hex)

Defines the color rgb(240, 255, 240).

hotpink(what \\ :hex)

Defines the color rgb(255, 105, 180).

indianred(what \\ :hex)

Defines the color rgb(205, 92, 92).

indigo(what \\ :hex)

Defines the color rgb(75, 0, 130).

ivory(what \\ :hex)

Defines the color rgb(255, 255, 240).

khaki(what \\ :hex)

Defines the color rgb(240, 230, 140).

lavender(what \\ :hex)

Defines the color rgb(230, 230, 250).

lavenderblush(what \\ :hex)

Defines the color rgb(255, 240, 245).

lawngreen(what \\ :hex)

Defines the color rgb(124, 252, 0).

lemonchiffon(what \\ :hex)

Defines the color rgb(255, 250, 205).

lightblue(what \\ :hex)

Defines the color rgb(173, 216, 230).

lightcoral(what \\ :hex)

Defines the color rgb(240, 128, 128).

lightcyan(what \\ :hex)

Defines the color rgb(224, 255, 255).

lightgoldenrodyellow(what \\ :hex)

@spec lightgoldenrodyellow(Fledex.Color.Names.Types.color_props_t()) ::
  Fledex.Color.Names.Types.color_vals_t()
@spec lightgoldenrodyellow(Fledex.Leds.t()) :: Fledex.Leds.t()

Defines the color rgb(250, 250, 210).

lightgray(what \\ :hex)

Defines the color rgb(211, 211, 211).

lightgreen(what \\ :hex)

Defines the color rgb(144, 238, 144).

lightgrey(what \\ :hex)

Defines the color rgb(211, 211, 211).

lightpink(what \\ :hex)

Defines the color rgb(255, 182, 193).

lightsalmon(what \\ :hex)

Defines the color rgb(255, 160, 122).

lightseagreen(what \\ :hex)

Defines the color rgb(32, 178, 170).

lightskyblue(what \\ :hex)

Defines the color rgb(135, 206, 250).

lightslategray(what \\ :hex)

Defines the color rgb(119, 136, 153).

lightslategrey(what \\ :hex)

Defines the color rgb(119, 136, 153).

lightsteelblue(what \\ :hex)

Defines the color rgb(176, 196, 222).

lightyellow(what \\ :hex)

Defines the color rgb(255, 255, 224).

lime(what \\ :hex)

Defines the color rgb(0, 255, 0).

limegreen(what \\ :hex)

Defines the color rgb(50, 205, 50).

linen(what \\ :hex)

Defines the color rgb(250, 240, 230).

magenta(what \\ :hex)

Defines the color rgb(255, 0, 255).

maroon(what \\ :hex)

Defines the color rgb(128, 0, 0).

mediumaquamarine(what \\ :hex)

Defines the color rgb(102, 205, 170).

mediumblue(what \\ :hex)

Defines the color rgb(0, 0, 205).

mediumorchid(what \\ :hex)

Defines the color rgb(186, 85, 211).

mediumpurple(what \\ :hex)

Defines the color rgb(147, 112, 219).

mediumseagreen(what \\ :hex)

Defines the color rgb(60, 179, 113).

mediumslateblue(what \\ :hex)

Defines the color rgb(123, 104, 238).

mediumspringgreen(what \\ :hex)

@spec mediumspringgreen(Fledex.Color.Names.Types.color_props_t()) ::
  Fledex.Color.Names.Types.color_vals_t()
@spec mediumspringgreen(Fledex.Leds.t()) :: Fledex.Leds.t()

Defines the color rgb(0, 250, 154).

mediumturquoise(what \\ :hex)

Defines the color rgb(72, 209, 204).

mediumvioletred(what \\ :hex)

Defines the color rgb(199, 21, 133).

midnightblue(what \\ :hex)

Defines the color rgb(25, 25, 112).

mintcream(what \\ :hex)

Defines the color rgb(245, 255, 250).

mistyrose(what \\ :hex)

Defines the color rgb(255, 228, 225).

moccasin(what \\ :hex)

Defines the color rgb(255, 228, 181).

oldlace(what \\ :hex)

Defines the color rgb(253, 245, 230).

olive(what \\ :hex)

Defines the color rgb(128, 128, 0).

olivedrab(what \\ :hex)

Defines the color rgb(107, 142, 35).

orange(what \\ :hex)

Defines the color rgb(255, 165, 0).

orangered(what \\ :hex)

Defines the color rgb(255, 69, 0).

orchid(what \\ :hex)

Defines the color rgb(218, 112, 214).

palegoldenrod(what \\ :hex)

Defines the color rgb(238, 232, 170).

palegreen(what \\ :hex)

Defines the color rgb(152, 251, 152).

paleturquoise(what \\ :hex)

Defines the color rgb(175, 238, 238).

palevioletred(what \\ :hex)

Defines the color rgb(219, 112, 147).

papayawhip(what \\ :hex)

Defines the color rgb(255, 239, 213).

peachpuff(what \\ :hex)

Defines the color rgb(255, 218, 185).

peru(what \\ :hex)

Defines the color rgb(205, 133, 63).

pink(what \\ :hex)

Defines the color rgb(255, 192, 203).

plum(what \\ :hex)

Defines the color rgb(221, 160, 221).

powderblue(what \\ :hex)

Defines the color rgb(176, 224, 230).

purple(what \\ :hex)

Defines the color rgb(128, 0, 128).

red(what \\ :hex)

Defines the color rgb(255, 0, 0).

rosybrown(what \\ :hex)

Defines the color rgb(188, 143, 143).

royalblue(what \\ :hex)

Defines the color rgb(65, 105, 225).

saddlebrown(what \\ :hex)

Defines the color rgb(139, 69, 19).

salmon(what \\ :hex)

Defines the color rgb(250, 128, 114).

sandybrown(what \\ :hex)

Defines the color rgb(244, 164, 96).

seagreen(what \\ :hex)

Defines the color rgb(46, 139, 87).

seashell(what \\ :hex)

Defines the color rgb(255, 245, 238).

sienna(what \\ :hex)

Defines the color rgb(160, 82, 45).

silver(what \\ :hex)

Defines the color rgb(192, 192, 192).

skyblue(what \\ :hex)

Defines the color rgb(135, 206, 235).

slateblue(what \\ :hex)

Defines the color rgb(106, 90, 205).

slategray(what \\ :hex)

Defines the color rgb(112, 128, 144).

slategrey(what \\ :hex)

Defines the color rgb(112, 128, 144).

snow(what \\ :hex)

Defines the color rgb(255, 250, 250).

springgreen(what \\ :hex)

Defines the color rgb(0, 255, 127).

steelblue(what \\ :hex)

Defines the color rgb(70, 130, 180).

tan(what \\ :hex)

Defines the color rgb(210, 180, 140).

teal(what \\ :hex)

Defines the color rgb(0, 128, 128).

thistle(what \\ :hex)

Defines the color rgb(216, 191, 216).

tomato(what \\ :hex)

Defines the color rgb(255, 99, 71).

turquoise(what \\ :hex)

Defines the color rgb(64, 224, 208).

violet(what \\ :hex)

Defines the color rgb(238, 130, 238).

wheat(what \\ :hex)

Defines the color rgb(245, 222, 179).

white(what \\ :hex)

Defines the color rgb(255, 255, 255).

whitesmoke(what \\ :hex)

Defines the color rgb(245, 245, 245).

yellow(what \\ :hex)

Defines the color rgb(255, 255, 0).

yellowgreen(what \\ :hex)

Defines the color rgb(154, 205, 50).

Types

color_names_t()

@type color_names_t() ::
  :antiquewhite
  | :aqua
  | :aquamarine
  | :azure
  | :beige
  | :bisque
  | :black
  | :blanchedalmond
  | :blue
  | :blueviolet
  | :brown
  | :burlywood
  | :cadetblue
  | :chartreuse
  | :chocolate
  | :coral
  | :cornflowerblue
  | :cornsilk
  | :crimson
  | :cyan
  | :darkblue
  | :darkcyan
  | :darkgoldenrod
  | :darkgray
  | :darkgreen
  | :darkgrey
  | :darkkhaki
  | :darkmagenta
  | :darkolivegreen
  | :darkorange
  | :darkorchid
  | :darkred
  | :darksalmon
  | :darkseagreen
  | :darkslateblue
  | :darkslategray
  | :darkslategrey
  | :darkturquoise
  | :darkviolet
  | :deeppink
  | :deepskyblue
  | :dimgray
  | :dimgrey
  | :dodgerblue
  | :firebrick
  | :floralwhite
  | :forestgreen
  | :fuchsia
  | :gainsboro
  | :ghostwhite
  | :gold
  | :goldenrod
  | :gray
  | :grey
  | :green
  | :greenyellow
  | :honeydew
  | :hotpink
  | :indianred
  | :indigo
  | :ivory
  | :khaki
  | :lavender
  | :lavenderblush
  | :lawngreen
  | :lemonchiffon
  | :lightblue
  | :lightcoral
  | :lightcyan
  | :lightgoldenrodyellow
  | :lightgray
  | :lightgreen
  | :lightgrey
  | :lightpink
  | :lightsalmon
  | :lightseagreen
  | :lightskyblue
  | :lightslategray
  | :lightslategrey
  | :lightsteelblue
  | :lightyellow
  | :lime
  | :limegreen
  | :linen
  | :magenta
  | :maroon
  | :mediumaquamarine
  | :mediumblue
  | :mediumorchid
  | :mediumpurple
  | :mediumseagreen
  | :mediumslateblue
  | :mediumspringgreen
  | :mediumturquoise
  | :mediumvioletred
  | :midnightblue
  | :mintcream
  | :mistyrose
  | :moccasin
  | :navajowhite
  | :navy
  | :oldlace
  | :olive
  | :olivedrab
  | :orange
  | :orangered
  | :orchid
  | :palegoldenrod
  | :palegreen
  | :paleturquoise
  | :palevioletred
  | :papayawhip
  | :peachpuff
  | :peru
  | :pink
  | :plum
  | :powderblue
  | :purple
  | :red
  | :rosybrown
  | :royalblue
  | :saddlebrown
  | :salmon
  | :sandybrown
  | :seagreen
  | :seashell
  | :sienna
  | :silver
  | :skyblue
  | :slateblue
  | :slategray
  | :slategrey
  | :snow
  | :springgreen
  | :steelblue
  | :tan
  | :teal
  | :thistle
  | :tomato
  | :turquoise
  | :violet
  | :wheat
  | :white
  | :whitesmoke
  | :yellow
  | :yellowgreen

The allowed color names

Functions

colors()

Get all the data about the predefined colors

names()

@spec names() :: [color_names_t()]

Get a list of all the predefined color (atom) names.

The name can be used to either retrieve the info by calling info/2 or by calling the function with that name (see also the description at the top and take a look at this example livebook)