The RandomColorBrush is one of the default brushes provided by CUE.NET. It's returning a random color for every LED it's applied on every update.
To be honest this brush is absolutely useless. I will rewrite it as soon as I have a good idea on how to make it customizable.
If you want to fill your whole keyboard with random colors you can use this code
RandomColorBrush randomBrush = new RandomColorBrush(); keyboard.Brush = randomBrush;
Introduction 1.1. What is CUE.NET? 1.2. What can I do with CUE.NET? 1.3. Projects using CUE.NET
Getting started 2.1. Adding CUE.NET to a project 2.2. Initializing CUE.NET 2.3. Perform basic lighting 2.4. Understanding CUE.NET ledgroups
Gradients 3.1. Understanding CUE.NET gradients 3.2. Linear Gradient 3.3. Rainbow Gradient 3.4. Implementing an own gradient
Brushes 4.1. Understanding CUE.NET brushes 4.2. Color-Corrections 4.3. Solid-Color Brush 4.4. Linear-Gradient Brush 4.5. Radial-Gradient Brush 4.6. Random-Color Brush 4.7. Image-Brush 4.8. Implementing an own brush
Effects 5.1. Understanding CUE.NET effects 5.2. Flash Effect 5.3. Move-Gradient Effect 5.4. Implementing an own effect
Tutorials
Deleting the wiki page "Random Color Brush" cannot be undone. Continue?