struct

GUI::Color

Inherits Struct < Value < Object

Constants

BLACK = Color.new(0, 0, 0)
BLUE = Color.new(0, 1, 0)
GRAY100 = Color.new(244 / 255.to_f32, 245 / 255.to_f32, 247 / 255.to_f32)
GRAY500 = Color.new(75 / 255.to_f32, 85 / 255.to_f32, 99 / 255.to_f32)
GRAY900 = Color.new(55 / 255.to_f32, 65 / 255.to_f32, 81 / 255.to_f32)
GREEN = Color.new(0, 0, 1)
GREY = Color.new(0.5, 0.5, 0.5)
RED = Color.new(1, 0, 0)
WHITE = Color.new(1, 1, 1)

Constructors

new(red : Float32, blue : Float32, green : Float32)
Source

Instance methods

blue
Source
green
Source