is_equals: Check two colors whether equal

Description Usage Arguments Value Examples

Description

Functions to check whether two colors are equal.

Usage

1

Arguments

...

color strings, the length of '...' must be 2.

Value

Return a boolean indicating whether the two colors are equal.

Examples

1
2
3
4
5
is_equals("red", "blue")
is_equals("red", "#F00")
col_mix2("red", "green")
col_mixn("red", "green", "blue")
col_random(3)

houyunhuang/tinycolor documentation built on June 6, 2019, 7:43 p.m.