From 41bf80c4a95047a8ea9bc56245eddcb648f8ec95 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Wed, 5 Jul 2023 10:43:01 -0700 Subject: [PATCH] Updated Rgbw64Color object API (markdown) --- Rgbw64Color-object-API.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Rgbw64Color-object-API.md b/Rgbw64Color-object-API.md index a5cc7da..9b27205 100644 --- a/Rgbw64Color-object-API.md +++ b/Rgbw64Color-object-API.md @@ -74,6 +74,16 @@ Brighten will return a new color that is blended to white with the given ratio. NOTE: This is a simple linear change. > * _ratio_ - (0-65535) where 65535 will return the original color and 0 will return white. +### Rgbw64Color Dim(uint8_t ratio); +Dim will return a new color that is blended to black with the given ratio. +NOTE: This is a simple linear change. +> * _ratio_ - (0-255) where 255 will return the original color and 0 will return black. + +### Rgbw64Color Brighten(uint8_t ratio); +Brighten will return a new color that is blended to white with the given ratio. +NOTE: This is a simple linear change. +> * _ratio_ - (0-255) where 255 will return the original color and 0 will return white. + ### void Darken(uint16_t delta); Darken will adjust the color by the given delta toward black. NOTE: This is a simple linear change.