Converts a hexadecimal number into a Color.
Converts a hexadecimal number into a Color. Must be the equivalent of the full hexadecimal form (for example, 0x123456).
0x123456
5 6 7
# File 'lib/colorist/core_extensions.rb', line 5 def to_color Colorist::Color.new(self) end