crystal / 1.4.0 / colorize / color256.html /

struct Colorize::Color256

Overview

An 8-bit color.

Defined in:

colorize.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : UInt8)Source

Instance Method Detail

def back(io : IO) : NilSource

def cloneSource

def copy_with(value _value = @value)Source

def fore(io : IO) : NilSource

def value : UInt8

© 2012–2022 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.4.0/Colorize/Color256.html