Method: ColorLib::RGB#green_p

Defined in:
lib/color_lib/rgb.rb

#green_pObject

Returns the green component of the colour as a percentage.



360
361
362
# File 'lib/color_lib/rgb.rb', line 360

def green_p
  @g * 100.0
end