enum CSS::NamedColor

Defined in:

css/named_color.cr

Enum Members

Black = 0
Silver = 1
White = 2
Red = 3
Blue = 4
Teal = 5
Olive = 6
Gold = 7
Inherit = 8

Instance Method Summary

Instance Method Detail

def black? #

[View source]
def blue? #

[View source]
def gold? #

[View source]
def inherit? #

[View source]
def olive? #

[View source]
def red? #

[View source]
def silver? #

[View source]
def teal? #

[View source]
def to_s(io : IO) #
Description copied from struct Enum

Appends a String representation of this enum member to the given io.

See also: #to_s.


[View source]
def white? #

[View source]