#040508 Eight Ball
#040508 (Eight Ball) RGB value is (4, 5, 8).
Red value is 4, green value is 5, and blue value is 8.
Cylindrical-coordinate representations (HSL) of color #040508: hue: 225°, saturation: 33.3%, and lightness: 2.4%.
Process color (CMYK) of #040508 is 50%, 37.5%, 0%, 96.9%. Web safe color equivalent of #040508 is ##000000. Color #040508 contains mainly Black.
Color Spaces
| Color spaces of #040508 | Value |
|---|---|
| RGB | 4, 5, 8 |
| HSL | 225°, 33.3%, 2.4% |
| HSV / HSB | 225°, 50%, 3.1% |
| CMYK | 50%, 37.5%, 0%, 96.9% |
| XYZ | 0.15, 0.15, 0.25 |
Base Numbers
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 00000100 | 00000101 | 00001000 |
| Octal | 004 | 005 | 010 |
| Decimal | 4 | 5 | 8 |
| Hex | 04 | 05 | 08 |
Shades of #040508
Tints of #040508
.mybgColor { background-color: #040508; }
.myforeColor { color: #040508; }
.myborderColor { border: 3px solid #040508; }
<p style="color:#040508">Text here</p>
This sample text is styled with font color #040508. It demonstrates typography contrast and readability for Web Content Accessibility Guidelines.
<div style="background-color:#040508">Div content here</div>
<div style="border:3px solid #040508">Div here</div>
.textShadowRgb { text-shadow: 4px 4px 2px rgba(4, 5, 8, 0.8); }
.textShadowHex { text-shadow: 4px 4px 2px #040508; }
.divShadow { -moz-box-shadow: 1px 1px 3px #040508;
-webkit-box-shadow: 1px 1px 3px #040508;
box-shadow: 1px 1px 3px #040508; }
This text has a CSS3 shadow effect generated with RGB color values.
This text has a CSS3 shadow effect generated with Hex color values.
Related Colors & Harmonies
Detailed Specifications & Design Guide for #040508 (Eight Ball)
Color Overview & Profile: Color #040508, also known as Eight Ball, is a prominent hue with strong representation in digital UI designs and print graphics. In the sRGB color space, it is composed of 2% Red (4/255), 2% Green (5/255), and 3% Blue (8/255). The primary color family component is Black.
Print & Physical Production Specs: For physical print production and offset printing setups, #040508 translates into the CMYK subtractive color model with values of 50% Cyan, 37.5% Magenta, 0% Yellow, and 96.9% Key (Black). The cylindrical coordinates in the HSL space feature a hue of 225°, saturation of 33.3%, and lightness of 2.4%.
Web Accessibility & Design Recommendations: When implementing #040508 in web frontend frameworks, ensure sufficient contrast ratios for readability according to WCAG 2.1 standards. The web-safe equivalent hex value for this color is ##000000.
