#040508 - Eight Ball
Hex color #040508 is called Eight Ball. It consists of 2% red, 2% green, and 3% blue in RGB color space. In CMYK it is 50% cyan, 37% magenta, 0% yellow, and 97% black. In HSL it is 225° hue, 33% saturation, and 2% lightness (dark) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Eight Ball | — |
| HEX | #040508 | #040508 |
| HEXA | #040508FF | #040508FF |
| RGB | 4, 5, 8 | rgb(4, 5, 8) |
| RGBA | 4, 5, 8, 1 | rgba(4, 5, 8, 1) |
| HSL | 225%, 33%, 2% | hsl(225%, 33%, 2%) |
| CMYK | 50%, 37%, 0%, 97% | cmyk(50%, 37%, 0%, 97%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 2% (dark) | — |
Negative color
The color opposite to #040508 is #FBFAF7.
Preview on black and white
As #040508 has 2% lightness, this color is dark, so it has more contrast with white.
#040508 On White Background
#040508
#040508
Text Color
This is how text looks with this color.
#040508 On Black Background
#040508
#040508
Text Color
This is how text looks with this color.
Transform color
4, 5, 8rgb(4, 5, 8)