From 7444fceb347cff65cd8e473ffaa5e115b667d5c0 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sat, 27 Feb 2016 09:45:06 -0800 Subject: [PATCH] Updated RgbwColor object API (markdown) --- RgbwColor-object-API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RgbwColor-object-API.md b/RgbwColor-object-API.md index cae71bf..1d02e7e 100644 --- a/RgbwColor-object-API.md +++ b/RgbwColor-object-API.md @@ -35,7 +35,7 @@ CAUTION: The R,G,B,W members are not initialized and may not be consistent unti ## Methods ### uint8_t CalculateBrightness(); CalculateBrightness will calculate the overall brightness. -NOTE: For color objects with only W set, it will return W. For color objects with W set to zero this is a simple linear brightness. For color objects with values in W and another color component, the overall brightness is an equal mix of the color components and the W. +NOTE: For color objects with only W set, it will return W. For color objects with W set to zero this is a simple linear brightness. For color objects with values in W and another color component, the overall brightness is the brighter of the color components and the W. ### void Darken(uint8_t delta); Darken will adjust the color by the given delta toward black.