module

DataDungeon::HexColor

A colour as an integer (0xRRGGBB) in the database, #rrggbb in JSON.

Class methods

from_json(pull : JSON::PullParser) : Int32
Source
parse(text : String) : Int32
Source
to_json(value : Int32, json : JSON::Builder) : Nil
Source