ColorsUtils extension

on

Methods

darker({double by = .1}) Color

Available on Color, provided by the ColorsUtils extension

Takes in by and returns a new color with brightness decreased with by. Value of by ranges from 0 to 1
lighter({double by = .1}) Color

Available on Color, provided by the ColorsUtils extension

Takes in by and returns a new color with brightness increased with by. Value of by ranges from 0 to 1