Develop a structure for storing color (
Red,Green,Bluecomponents).To provide for the possibility of forming color from individual components, obtaining any component, increasing / decreasing the brightness of all components, increasing / decreasing the brightness of an individual component.
Develop a structure for storing color circle data + functions for manipulating variables of this type.
Create an array of colored circles and develop a function to sort the circles according to different signs: by area, by color, by distance from the origin.
Direct in the right direction what needs to be done.
I think for the color structure like this:
struct Cvet{ red = , green=, blue= }
or somehow differently need?