Module: Cairo::Color::X11

Included in:
Cairo::Color
Defined in:
lib/cairo/colors.rb

Constant Summary collapse

GRAY =

Gray: #BEBEBE

RGB.new(0.745098039215686, 0.745098039215686, 0.745098039215686)
GREEN =

Green: #00FF00

RGB.new(0.0, 1.0, 0.0)
MAROON =

Maroon: #B03060

RGB.new(0.690196078431373, 0.188235294117647, 0.376470588235294)
PURPLE =

Purple: #A020F0

RGB.new(0.627450980392157, 0.125490196078431, 0.941176470588235)
ALICE_BLUE =

Alice Blue: #F0F8FF

RGB.new(0.941176470588235, 0.972549019607843, 1.0)
ANTIQUE_WHITE =

Antique White: #FAEBD7

RGB.new(0.980392156862745, 0.92156862745098, 0.843137254901961)
AQUA =

Aqua: #00FFFF

RGB.new(0.0, 1.0, 1.0)
AQUAMARINE =

Aquamarine: #7FFFD4

RGB.new(0.498039215686275, 1.0, 0.831372549019608)
AZURE =

Azure: #F0FFFF

RGB.new(0.941176470588235, 1.0, 1.0)
BEIGE =

Beige: #F5F5DC

RGB.new(0.96078431372549, 0.96078431372549, 0.862745098039216)
BISQUE =

Bisque: #FFE4C4

RGB.new(1.0, 0.894117647058824, 0.768627450980392)
BLACK =

Black: #000000

RGB.new(0.0, 0.0, 0.0)
BLANCHED_ALMOND =

Blanched Almond: #FFEBCD

RGB.new(1.0, 0.92156862745098, 0.803921568627451)
BLUE =

Blue: #0000FF

RGB.new(0.0, 0.0, 1.0)
BLUE_VIOLET =

Blue Violet: #8A2BE2

RGB.new(0.541176470588235, 0.168627450980392, 0.886274509803922)
BROWN =

Brown: #A52A2A

RGB.new(0.647058823529412, 0.164705882352941, 0.164705882352941)
BURLY_WOOD =

Burly Wood: #DEB887

RGB.new(0.870588235294118, 0.72156862745098, 0.529411764705882)
CADET_BLUE =

Cadet Blue: #5F9EA0

RGB.new(0.372549019607843, 0.619607843137255, 0.627450980392157)
CHARTREUSE =

Chartreuse: #7FFF00

RGB.new(0.498039215686275, 1.0, 0.0)
CHOCOLATE =

Chocolate: #D2691E

RGB.new(0.823529411764706, 0.411764705882353, 0.117647058823529)
CORAL =

Coral: #FF7F50

RGB.new(1.0, 0.498039215686275, 0.313725490196078)
CORNFLOWER_BLUE =

Cornflower Blue: #6495ED

RGB.new(0.392156862745098, 0.584313725490196, 0.929411764705882)
CORNSILK =

Cornsilk: #FFF8DC

RGB.new(1.0, 0.972549019607843, 0.862745098039216)
CRIMSON =

Crimson: #DC143C

RGB.new(0.862745098039216, 0.0784313725490196, 0.235294117647059)
CYAN =

Cyan: #00FFFF

RGB.new(0.0, 1.0, 1.0)
DARK_BLUE =

Dark Blue: #00008B

RGB.new(0.0, 0.0, 0.545098039215686)
DARK_CYAN =

Dark Cyan: #008B8B

RGB.new(0.0, 0.545098039215686, 0.545098039215686)
DARK_GOLDENROD =

Dark Goldenrod: #B8860B

RGB.new(0.72156862745098, 0.525490196078431, 0.0431372549019608)
DARK_GRAY =

Dark Gray: #A9A9A9

RGB.new(0.662745098039216, 0.662745098039216, 0.662745098039216)
DARK_GREEN =

Dark Green: #006400

RGB.new(0.0, 0.392156862745098, 0.0)
DARK_KHAKI =

Dark Khaki: #BDB76B

RGB.new(0.741176470588235, 0.717647058823529, 0.419607843137255)
DARK_MAGENTA =

Dark Magenta: #8B008B

RGB.new(0.545098039215686, 0.0, 0.545098039215686)
DARK_OLIVE_GREEN =

Dark Olive Green: #556B2F

RGB.new(0.333333333333333, 0.419607843137255, 0.184313725490196)
DARK_ORANGE =

Dark Orange: #FF8C00

RGB.new(1.0, 0.549019607843137, 0.0)
DARK_ORCHID =

Dark Orchid: #9932CC

RGB.new(0.6, 0.196078431372549, 0.8)
DARK_RED =

Dark Red: #8B0000

RGB.new(0.545098039215686, 0.0, 0.0)
DARK_SALMON =

Dark Salmon: #E9967A

RGB.new(0.913725490196078, 0.588235294117647, 0.47843137254902)
DARK_SEA_GREEN =

Dark Sea Green: #8FBC8F

RGB.new(0.56078431372549, 0.737254901960784, 0.56078431372549)
DARK_SLATE_BLUE =

Dark Slate Blue: #483D8B

RGB.new(0.282352941176471, 0.23921568627451, 0.545098039215686)
DARK_SLATE_GRAY =

Dark Slate Gray: #2F4F4F

RGB.new(0.184313725490196, 0.309803921568627, 0.309803921568627)
DARK_TURQUOISE =

Dark Turquoise: #00CED1

RGB.new(0.0, 0.807843137254902, 0.819607843137255)
DARK_VIOLET =

Dark Violet: #9400D3

RGB.new(0.580392156862745, 0.0, 0.827450980392157)
DEEP_PINK =

Deep Pink: #FF1493

RGB.new(1.0, 0.0784313725490196, 0.576470588235294)
DEEP_SKY_BLUE =

Deep Sky Blue: #00BFFF

RGB.new(0.0, 0.749019607843137, 1.0)
DIM_GRAY =

Dim Gray: #696969

RGB.new(0.411764705882353, 0.411764705882353, 0.411764705882353)
DODGER_BLUE =

Dodger Blue: #1E90FF

RGB.new(0.117647058823529, 0.564705882352941, 1.0)
FIRE_BRICK =

Fire Brick: #B22222

RGB.new(0.698039215686274, 0.133333333333333, 0.133333333333333)
FLORAL_WHITE =

Floral White: #FFFAF0

RGB.new(1.0, 0.980392156862745, 0.941176470588235)
FOREST_GREEN =

Forest Green: #228B22

RGB.new(0.133333333333333, 0.545098039215686, 0.133333333333333)
FUCHSIA =

Fuchsia: #FF00FF

RGB.new(1.0, 0.0, 1.0)
GAINSBORO =

Gainsboro: #DCDCDC

RGB.new(0.862745098039216, 0.862745098039216, 0.862745098039216)
GHOST_WHITE =

Ghost White: #F8F8FF

RGB.new(0.972549019607843, 0.972549019607843, 1.0)
GOLD =

Gold: #FFD700

RGB.new(1.0, 0.843137254901961, 0.0)
GOLDENROD =

Goldenrod: #DAA520

RGB.new(0.854901960784314, 0.647058823529412, 0.125490196078431)
GREEN_YELLOW =

Green Yellow: #ADFF2F

RGB.new(0.67843137254902, 1.0, 0.184313725490196)
HONEYDEW =

Honeydew: #F0FFF0

RGB.new(0.941176470588235, 1.0, 0.941176470588235)
HOT_PINK =

Hot Pink: #FF69B4

RGB.new(1.0, 0.411764705882353, 0.705882352941177)
INDIAN_RED =

Indian Red: #CD5C5C

RGB.new(0.803921568627451, 0.36078431372549, 0.36078431372549)
INDIGO =

Indigo: #4B0082

RGB.new(0.294117647058824, 0.0, 0.509803921568627)
IVORY =

Ivory: #FFFFF0

RGB.new(1.0, 1.0, 0.941176470588235)
KHAKI =

Khaki: #F0E68C

RGB.new(0.941176470588235, 0.901960784313726, 0.549019607843137)
LAVENDER =

Lavender: #E6E6FA

RGB.new(0.901960784313726, 0.901960784313726, 0.980392156862745)
LAVENDER_BLUSH =

Lavender Blush: #FFF0F5

RGB.new(1.0, 0.941176470588235, 0.96078431372549)
LAWN_GREEN =

Lawn Green: #7CFC00

RGB.new(0.486274509803922, 0.988235294117647, 0.0)
LEMON_CHIFFON =

Lemon Chiffon: #FFFACD

RGB.new(1.0, 0.980392156862745, 0.803921568627451)
LIGHT_BLUE =

Light Blue: #ADD8E6

RGB.new(0.67843137254902, 0.847058823529412, 0.901960784313726)
LIGHT_CORAL =

Light Coral: #F08080

RGB.new(0.941176470588235, 0.501960784313725, 0.501960784313725)
LIGHT_CYAN =

Light Cyan: #E0FFFF

RGB.new(0.87843137254902, 1.0, 1.0)
LIGHT_GOLDENROD_YELLOW =

Light Goldenrod Yellow: #FAFAD2

RGB.new(0.980392156862745, 0.980392156862745, 0.823529411764706)
LIGHT_GREEN =

Light Green: #90EE90

RGB.new(0.564705882352941, 0.933333333333333, 0.564705882352941)
LIGHT_GREY =

Light Grey: #D3D3D3

RGB.new(0.827450980392157, 0.827450980392157, 0.827450980392157)
LIGHT_PINK =

Light Pink: #FFB6C1

RGB.new(1.0, 0.713725490196078, 0.756862745098039)
LIGHT_SALMON =

Light Salmon: #FFA07A

RGB.new(1.0, 0.627450980392157, 0.47843137254902)
LIGHT_SEA_GREEN =

Light Sea Green: #20B2AA

RGB.new(0.125490196078431, 0.698039215686274, 0.666666666666667)
LIGHT_SKY_BLUE =

Light Sky Blue: #87CEFA

RGB.new(0.529411764705882, 0.807843137254902, 0.980392156862745)
LIGHT_SLATE_GRAY =

Light Slate Gray: #778899

RGB.new(0.466666666666667, 0.533333333333333, 0.6)
LIGHT_STEEL_BLUE =

Light Steel Blue: #B0C4DE

RGB.new(0.690196078431373, 0.768627450980392, 0.870588235294118)
LIGHT_YELLOW =

Light Yellow: #FFFFE0

RGB.new(1.0, 1.0, 0.87843137254902)
LIME =

Lime: #00FF00

RGB.new(0.0, 1.0, 0.0)
LIME_GREEN =

Lime Green: #32CD32

RGB.new(0.196078431372549, 0.803921568627451, 0.196078431372549)
LINEN =

Linen: #FAF0E6

RGB.new(0.980392156862745, 0.941176470588235, 0.901960784313726)
MAGENTA =

Magenta: #FF00FF

RGB.new(1.0, 0.0, 1.0)
MEDIUM_AQUAMARINE =

Medium Aquamarine: #66CDAA

RGB.new(0.4, 0.803921568627451, 0.666666666666667)
MEDIUM_BLUE =

Medium Blue: #0000CD

RGB.new(0.0, 0.0, 0.803921568627451)
MEDIUM_ORCHID =

Medium Orchid: #BA55D3

RGB.new(0.729411764705882, 0.333333333333333, 0.827450980392157)
MEDIUM_PURPLE =

Medium Purple: #9370DB

RGB.new(0.576470588235294, 0.43921568627451, 0.858823529411765)
MEDIUM_SEA_GREEN =

Medium Sea Green: #3CB371

RGB.new(0.235294117647059, 0.701960784313725, 0.443137254901961)
MEDIUM_SLATE_BLUE =

Medium Slate Blue: #7B68EE

RGB.new(0.482352941176471, 0.407843137254902, 0.933333333333333)
MEDIUM_SPRING_GREEN =

Medium Spring Green: #00FA9A

RGB.new(0.0, 0.980392156862745, 0.603921568627451)
MEDIUM_TURQUOISE =

Medium Turquoise: #48D1CC

RGB.new(0.282352941176471, 0.819607843137255, 0.8)
MEDIUM_VIOLET_RED =

Medium Violet Red: #C71585

RGB.new(0.780392156862745, 0.0823529411764706, 0.52156862745098)
MIDNIGHT_BLUE =

Midnight Blue: #191970

RGB.new(0.0980392156862745, 0.0980392156862745, 0.43921568627451)
MINT_CREAM =

Mint Cream: #F5FFFA

RGB.new(0.96078431372549, 1.0, 0.980392156862745)
MISTY_ROSE =

Misty Rose: #FFE4E1

RGB.new(1.0, 0.894117647058824, 0.882352941176471)
MOCCASIN =

Moccasin: #FFE4B5

RGB.new(1.0, 0.894117647058824, 0.709803921568627)
RGB.new(1.0, 0.870588235294118, 0.67843137254902)
OLD_LACE =

Old Lace: #FDF5E6

RGB.new(0.992156862745098, 0.96078431372549, 0.901960784313726)
OLIVE =

Olive: #808000

RGB.new(0.501960784313725, 0.501960784313725, 0.0)
OLIVE_DRAB =

Olive Drab: #6B8E23

RGB.new(0.419607843137255, 0.556862745098039, 0.137254901960784)
ORANGE =

Orange: #FFA500

RGB.new(1.0, 0.647058823529412, 0.0)
ORANGE_RED =

Orange Red: #FF4500

RGB.new(1.0, 0.270588235294118, 0.0)
ORCHID =

Orchid: #DA70D6

RGB.new(0.854901960784314, 0.43921568627451, 0.83921568627451)
PALE_GOLDENROD =

Pale Goldenrod: #EEE8AA

RGB.new(0.933333333333333, 0.909803921568627, 0.666666666666667)
PALE_GREEN =

Pale Green: #98FB98

RGB.new(0.596078431372549, 0.984313725490196, 0.596078431372549)
PALE_TURQUOISE =

Pale Turquoise: #AFEEEE

RGB.new(0.686274509803922, 0.933333333333333, 0.933333333333333)
PALE_VIOLET_RED =

Pale Violet Red: #DB7093

RGB.new(0.858823529411765, 0.43921568627451, 0.576470588235294)
PAPAYA_WHIP =

Papaya Whip: #FFEFD5

RGB.new(1.0, 0.937254901960784, 0.835294117647059)
PEACH_PUFF =

Peach Puff: #FFDAB9

RGB.new(1.0, 0.854901960784314, 0.725490196078431)
PERU =

Peru: #CD853F

RGB.new(0.803921568627451, 0.52156862745098, 0.247058823529412)
PINK =

Pink: #FFC0CB

RGB.new(1.0, 0.752941176470588, 0.796078431372549)
PLUM =

Plum: #DDA0DD

RGB.new(0.866666666666667, 0.627450980392157, 0.866666666666667)
POWDER_BLUE =

Powder Blue: #B0E0E6

RGB.new(0.690196078431373, 0.87843137254902, 0.901960784313726)
RED =

Red: #FF0000

RGB.new(1.0, 0.0, 0.0)
ROSY_BROWN =

Rosy Brown: #BC8F8F

RGB.new(0.737254901960784, 0.56078431372549, 0.56078431372549)
ROYAL_BLUE =

Royal Blue: #4169E1

RGB.new(0.254901960784314, 0.411764705882353, 0.882352941176471)
SADDLE_BROWN =

Saddle Brown: #8B4513

RGB.new(0.545098039215686, 0.270588235294118, 0.0745098039215686)
SALMON =

Salmon: #FA8072

RGB.new(0.980392156862745, 0.501960784313725, 0.447058823529412)
SANDY_BROWN =

Sandy Brown: #F4A460

RGB.new(0.956862745098039, 0.643137254901961, 0.376470588235294)
SEA_GREEN =

Sea Green: #2E8B57

RGB.new(0.180392156862745, 0.545098039215686, 0.341176470588235)
SEASHELL =

Seashell: #FFF5EE

RGB.new(1.0, 0.96078431372549, 0.933333333333333)
SIENNA =

Sienna: #A0522D

RGB.new(0.627450980392157, 0.32156862745098, 0.176470588235294)
SILVER =

Silver: #C0C0C0

RGB.new(0.752941176470588, 0.752941176470588, 0.752941176470588)
SKY_BLUE =

Sky Blue: #87CEEB

RGB.new(0.529411764705882, 0.807843137254902, 0.92156862745098)
SLATE_BLUE =

Slate Blue: #6A5ACD

RGB.new(0.415686274509804, 0.352941176470588, 0.803921568627451)
SLATE_GRAY =

Slate Gray: #708090

RGB.new(0.43921568627451, 0.501960784313725, 0.564705882352941)
SNOW =

Snow: #FFFAFA

RGB.new(1.0, 0.980392156862745, 0.980392156862745)
SPRING_GREEN =

Spring Green: #00FF7F

RGB.new(0.0, 1.0, 0.498039215686275)
STEEL_BLUE =

Steel Blue: #4682B4

RGB.new(0.274509803921569, 0.509803921568627, 0.705882352941177)
TAN =

Tan: #D2B48C

RGB.new(0.823529411764706, 0.705882352941177, 0.549019607843137)
TEAL =

Teal: #008080

RGB.new(0.0, 0.501960784313725, 0.501960784313725)
THISTLE =

Thistle: #D8BFD8

RGB.new(0.847058823529412, 0.749019607843137, 0.847058823529412)
TOMATO =

Tomato: #FF6347

RGB.new(1.0, 0.388235294117647, 0.27843137254902)
TURQUOISE =

Turquoise: #40E0D0

RGB.new(0.250980392156863, 0.87843137254902, 0.815686274509804)
VIOLET =

Violet: #EE82EE

RGB.new(0.933333333333333, 0.509803921568627, 0.933333333333333)
WHEAT =

Wheat: #F5DEB3

RGB.new(0.96078431372549, 0.870588235294118, 0.701960784313725)
WHITE =

White: #FFFFFF

RGB.new(1.0, 1.0, 1.0)
WHITE_SMOKE =

White Smoke: #F5F5F5

RGB.new(0.96078431372549, 0.96078431372549, 0.96078431372549)
YELLOW =

Yellow: #FFFF00

RGB.new(1.0, 1.0, 0.0)
YELLOW_GREEN =

Yellow Green: #9ACD32

RGB.new(0.603921568627451, 0.803921568627451, 0.196078431372549)