Module: ColorContrastCalc::InvalidColorRepresentationError::Template

Defined in:
lib/color_contrast_calc/invalid_color_representation_error.rb

Constant Summary collapse

RGB =
'An RGB value should be in form of [r, g, b], but %s.'
COLOR_NAME =
'%s seems to be an undefined color name.'
HEX =
'A hex code #xxxxxx where 0 <= x <= f is expected, but %s.'
UNEXPECTED =
'A color should be given as an array or string, but %s.'