Method: ColorContrastCalc::ColorFunctionParser::ColorFunction#to_a
- Defined in:
- lib/color_contrast_calc/color_function_parser.rb
#to_a ⇒ Array<Integer, Float>
Return the parameters of a RGB/HSL/HWB function as an array of Integer/Float. The unit for H, S, L is assumed to be deg, %, % respectively.
239 240 241 |
# File 'lib/color_contrast_calc/color_function_parser.rb', line 239 def to_a @normalized end |