From 609a5795b1001c06400625e313ff884b50026e74 Mon Sep 17 00:00:00 2001 From: HiDeoo <494699+HiDeoo@users.noreply.github.com> Date: Tue, 6 Sep 2022 16:44:16 +0200 Subject: [PATCH] Fix README desaturate example typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index db36c6a..f30615d 100644 --- a/README.md +++ b/README.md @@ -412,8 +412,8 @@ colord("hsl(0, 50%, 50%)").saturate(0.5).toHslString(); // "hsl(0, 100%, 50%)" Decreases the [HSL saturation](https://en.wikipedia.org/wiki/HSL_and_HSV) of a color by the given amount. ```js -colord("#df2020").saturate(0.25).toHex(); // "#bf4040" -colord("hsl(0, 100%, 50%)").saturate(0.5).toHslString(); // "hsl(0, 50%, 50%)" +colord("#df2020").desaturate(0.25).toHex(); // "#bf4040" +colord("hsl(0, 100%, 50%)").desaturate(0.5).toHslString(); // "hsl(0, 50%, 50%)" ```