warmer method

  1. @override
HsiColor warmer(
  1. num amount, {
  2. bool relative = true,

Adjusts the hue of this color by amount towards 90 degrees, capping the value at 90.

If relative is true, amount will be treated as a percentage and the hue will be adjusted by the percent of the distance from the current hue to 90 that amount represents. If false, amount will be treated as the number of degrees to adjust the hue by.


HsiColor warmer(num amount, {bool relative = true}) {
  assert(amount > 0);
  if (relative) assert(amount <= 100);
  return withHue(ColorAdjustments.warmerHue(hue, amount, relative: relative));