codingburgas / sprint-math-games-9th-grade-dsg

sprint-project-2425-9th-grade-math-games-sprint-math-games-9th-grade-Sprint-9th-grade-Math-Games created by GitHub Classroom
0 stars 0 forks source link

Create color palette #2

Open MSDimitrov23 opened 4 days ago

MSDimitrov23 commented 4 days ago

Create a color palette and add it to a header file in the include folder. There should be colors for: text, background, secondary elements (borders, decorations), correct answer, incorrect answer The variables should look like this:

inline constexpr Color text = Color{217, 203, 109, 255};

The colors are rgb and have a transparency which should always be 255. In this example red = 217, blue = 203, green = 109. Don't forget to include raylib.h

KRParashkevov23 commented 2 days ago

If this is rgb, why is there a 4th value? Do you mean rgba (the "a" is the 4th value, which is transparency)?