Method: Pixelart::Color.to_hsl
- Defined in:
- lib/pixelart/color.rb
.to_hsl(color, include_alpha: true) ⇒ Object
49 50 51 52 |
# File 'lib/pixelart/color.rb', line 49 def self.to_hsl( color, include_alpha: true ) # Returns an array with the separate HSL components of a color. ChunkyPNG::Color.to_hsl( color, include_alpha ) end |