Faker v0.7.0 Faker.Color

Functions for generating different color representations.

Summary

Functions

Return a random fancy color name

Return a random color name

Return random RGB decimal value

Return random RGB hex value

Functions

fancy_name()

Specs

fancy_name :: String.t

Return a random fancy color name

name()

Specs

name :: String.t

Return a random color name

rgb_decimal()

Specs

rgb_decimal :: {byte, byte, byte}

Return random RGB decimal value.

rgb_hex()

Specs

rgb_hex :: binary

Return random RGB hex value.