Method: Inker::Color#hue

Defined in:
lib/inker/color.rb

#hueInteger

Calculate the HUE of a color.

Returns:

  • (Integer)

    a value between 0-360 which indicates the HUE of the color



124
125
126
# File 'lib/inker/color.rb', line 124

def hue
  Color.hue(@red, @green, @blue)
end