Method: Color::Palette::MonoContrast#minimum_brightness_diff

Defined in:
lib/color/palette/monocontrast.rb

#minimum_brightness_diffObject

The minimum brightness difference between the background and the foreground, and must be between 0..1. Setting this value will regenerate the palette based on the base colours. The default value for this is 125 / 255.0. If this value is set to nil, it will be restored to the default.

[View source]

39
40
41
# File 'lib/color/palette/monocontrast.rb', line 39

def minimum_brightness_diff
  @minimum_brightness_diff
end