Method: Color.normalize_word
- Defined in:
- lib/color.rb
.normalize_word(value) ⇒ Object Also known as: normalize_16bit
Normalize the value to the range (0) .. (65535).
89 90 91 |
# File 'lib/color.rb', line 89 def normalize_word(value) normalize_to_range(value, 0..65535).to_i end |