How to Create Tens of Thousands of Colors Using a C Program
CSEF · 2007 Mathematics & Software
Overview
Objectives/Goals I hypothesize that by using a C program to increase or decrease the intensity of each one of the red, green, and blue LEDs and mixing the three colors, I can create tens of thousands of different colors. Methods/Materials Select a color from the Color Gamut. Then edit the C program to generate the color. Save the file and compile the C program. Program the PSoC chip. Place a color mixing chamber on top of the LEDs. Then run the program in the Demo Board. Repeat this process 6 times. Results It was found that in a C Program by varying the intensity of the red, green and blue LEDs one can produce tens of thousands of various colors in the color mixing chamber. The C program mixed proper amounts of each one of the three colors.
Summary statement
Create different colors by changing and combining intensities of red, green, and blue LEDs using a C program.
Help received
My father helped me with debugging the C program.
Competition history
- CSEF 2007
Resources
Related projects
CSEF · 2005
Living Color
CSEF · 2009
The Effect of RGB and CMYK Color Formats on the Number of Colors in Photographs
CSEF · 2004
A Color Distinguishing Robot
CSEF · 2008
C MY Kolor?
CSEF · 2016
C-Color: Colorblind Smartphone Application
CSEF · 2019
The Study of Optical Properties of Artificial Colors
ISEF · 2021
An Innovative Microcontroller-Driven Illumination System to Correct Moderate to Severe Color Vision Deficiency
ISEF · 2024
Algorithms to Detect Color Variations for the Visually Impaired
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects