Method: Color::RGB#red_p

Defined in:
lib/atome/utilities/color_helper/color/rgb.rb

#red_pObject

Returns the red component of the colour as a percentage.



450
451
452
# File 'lib/atome/utilities/color_helper/color/rgb.rb', line 450

def red_p
  @r * 100.0
end