back icon

RGB Fade

Hallo Welt

Created in: 2016

More informations: here

The RGBFade library is a small library to fade between different colours. Just initialise the amount of colours and define these colours and after that you can get the RGB code of a scale between 0-100% while runtime. In this case 0% is the first RGB code and 100% is the latest. If you only used 2 colours 50% is the 50:50 mix between these two colours.
The idea of this library is to use it for gradients with RGB leds or addressable leds like the WS2812b.
This library includes an processing sketch for demonstration as well.