Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
RGB
Inherits
Struct
<
Value
<
Object
Constructors
from_bgr16
(bgr :
UInt16
, should_convert :
Bool
) :
RGB
Source
new
(red :
UInt8
, green :
UInt8
, blue :
UInt8
)
Source
new
(grey :
UInt8
)
Source
Instance methods
blue
Source
blue=
(blue :
UInt8
)
Source
convert_from_cgb
Source
green
Source
green=
(green :
UInt8
)
Source
red
Source
red=
(red :
UInt8
)
Source