C++ is mostly associated to blue (#00599C š¦ )
Here are the official and commonly accepted colors associated with C++ (from its logo and consistent visual identity across GitHub, ISO, and the C++ Foundation).
| Role | Hex | RGB | Description |
|---|---|---|---|
| C++ Blue | #00599C | (0, 89, 156) | The dominant hexagon color in the official logo |
ā This is the main brand color ā a strong, medium-deep blue.
| Role | Hex | RGB | Description |
|---|---|---|---|
| Dark Blue (border/shadow) | #004482 | (0, 68, 130) | Used for the inner shading or darker edges of the hexagon |
| Light Blue (highlight) | #659AD2 | (101, 154, 210) | Used in gradients or highlights of the hexagon |
| White | #FFFFFF | (255, 255, 255) | Used for the āC++ā lettering and inner plus symbols |
| Element | Color | Hex |
|---|---|---|
| Primary | š¦ | #00599C |
| Dark accent | šµ | #004482 |
| Light accent | š¹ | #659AD2 |
| Text / symbol | āŖ | #FFFFFF |
.cpp and .h files in line with this aesthetic.