mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-09 22:04:27 +02:00
Updated Rgbw64Color object API (markdown)
@@ -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.
|
NOTE: This is a simple linear change.
|
||||||
> * _ratio_ - (0-65535) where 65535 will return the original color and 0 will return white.
|
> * _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);
|
### void Darken(uint16_t delta);
|
||||||
Darken will adjust the color by the given delta toward black.
|
Darken will adjust the color by the given delta toward black.
|
||||||
NOTE: This is a simple linear change.
|
NOTE: This is a simple linear change.
|
||||||
|
Reference in New Issue
Block a user