darker method

PColor darker(
  1. double ratio
)

Returns a darker color.

Implementation

PColor darker(double ratio) => lighter(1 / ratio);