From 5ca10794a8b38b6c8ba178097126d5fb816d50e0 Mon Sep 17 00:00:00 2001 From: Hel Gibbons <50950368+helgibbons@users.noreply.github.com> Date: Tue, 28 Feb 2023 15:43:19 +0000 Subject: [PATCH] PicoGraphics: clarify hsv units --- micropython/modules/picographics/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micropython/modules/picographics/README.md b/micropython/modules/picographics/README.md index 17ccb905..cb42579d 100644 --- a/micropython/modules/picographics/README.md +++ b/micropython/modules/picographics/README.md @@ -170,7 +170,7 @@ In RGB565 and RGB332 modes this packs the given RGB into an integer representing In P4 and P8 modes this will consume one palette entry, or return an error if your palette is full. Palette colours are stored as RGB and converted when they are displayed on screen. -You can also now specify an HSV pen, which allows a pen to be created from HSV (Hue, Saturation, Value) values, avoiding the need to calculate the RGB result in Python. +You can also now specify an HSV pen, which allows a pen to be created from HSV (Hue, Saturation, Value) values between 0.0 and 1.0, avoiding the need to calculate the RGB result in Python. ```python display.create_pen_hsv(h, s, v)