Method: Color::Palette::MonoContrast#minimum_color_diff
- Defined in:
- lib/color/palette/monocontrast.rb
#minimum_color_diff ⇒ Object
The minimum colour difference between the background and the foreground, and must be between 0..3. Setting this value will regenerate the palette based on the base colours. The default value for this is 500 / 255.0.
58 59 60 |
# File 'lib/color/palette/monocontrast.rb', line 58 def minimum_color_diff @minimum_color_diff end |