Skip to Content
Learn Robotics Programming
book

Learn Robotics Programming

by Danny Staple
November 2018
Beginner
472 pages
13h 5m
English
Packt Publishing
Content preview from Learn Robotics Programming

RGB values

If you are not familiar with RGB values, the red, green, and blue light colors can be mixed to make any color combination. This is the same principle used by most, if not all, color display screens you have seen. TVs, mobile phones, and computer screens all mostly use this. LEDs use the same principle to produce many colors.

The amounts of each to mix are usually specified as three-number components. In this case, they are numbers ranging from 0 for absolutely turned off, to 255 for full intensity, with values in between for many levels of intensity. The colors are mixed simply by adding, so adding all of them at full brightness will make white.

Although this theoretically gives many colors, in practice, the differences between ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Robotics Programming - Second Edition

Learn Robotics Programming - Second Edition

Danny Staple

Publisher Resources

ISBN: 9781789340747Supplemental Content