enum Color

Defined in:

wif/frontend.cr

Enum Members

WHITE = 4294967295_u32
BLACK = 4278190080_u32
RED = 4294901760_u32
ORANGE = 4294934528_u32
YELLOW = 4294967040_u32
GREEN = 4278255360_u32
CYAN = 4278255615_u32
BLUE = 4278190335_u32
VIOLET = 4294902015_u32
TRANSPARENT = 0_u32
DARK_BLUE = 4278190208_u32
DARK_GREEN = 4278222848_u32
GREY = 4286611584_u32
DARK_GREY = 4282400832_u32
SKY = 4278206719_u32

Constructors

Instance Method Summary

Constructor Detail

def self.rgba(r, g, b, a = 255) : Color #

[View source]

Instance Method Detail

def black? #

[View source]
def blue? #

[View source]
def cyan? #

[View source]
def dark_blue? #

[View source]
def dark_green? #

[View source]
def dark_grey? #

[View source]
def green? #

[View source]
def grey? #

[View source]
def orange? #

[View source]
def red? #

[View source]
def sky? #

[View source]
def transparent? #

[View source]
def violet? #

[View source]
def white? #

[View source]
def yellow? #

[View source]