Module: Colir::HSLRGB::HSL
- Defined in:
- lib/colir/hslrgb.rb
Overview
Provides helper methods for HSL colours.
Constant Summary collapse
- H_RANGE =
The possible values for the hue.
0..360
- S_RANGE =
The possible values for the saturation.
0..1
- L_RANGE =
The possible values for the lightness.
S_RANGE
Class Method Summary collapse
-
.valid_hsl?(hsl) ⇒ Boolean
Performs a validation check for the
hsl.