module Colorize::ObjectExtensions

Direct including types

Defined in:

colorize.cr

Instance Method Summary

Instance Method Detail

def colorize(r : UInt8, g : UInt8, b : UInt8) #

Wrapsself in aColorize::Object and colors it with the givenColorRGB made up from the givenred,green andblue values.


def colorize(fore : UInt8) #

Wrapsself in aColorize::Object and colors it with the givenColor256 made up from the singlefore byte.


def colorize(fore : Symbol) #

Wrapsself in aColorize::Object and colors it with the givenfore color.


def colorize(fore : Color) #

Wrapsself in aColorize::Object and colors it with the givenforeColor.


def colorize : Colorize::Object #

Turnsself into aColorize::Object.