Shades of Midnight #222D38
Tints of Midnight #222D38
RGB
CMYK
RGB Variations
Color information
#222D38 (or 0x222D38) is known color: Midnight. HEX triplet: 22, 2D and 38. RGB value is (34,45,56). Sum of RGB (Red+Green+Blue) = 34+45+56=135 (17% of max value = 765). Red value is 34 (13.67% from 255 or 25.19% from 135); Green value is 45 (17.97% from 255 or 33.33% from 135); Blue value is 56 (22.27% from 255 or 41.48% from 135); Max value from RGB is 56 - color contains mainly: blue. Hex color #222D38 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #222D38 is #DDD2C7. Grayscale: #2A2A2A. Windows color (decimal): -14537416 or 3681570. OLE color: 3681570.
HSL color Cylindrical-coordinate representation of color #222D38: hue angle of 210º degrees, saturation: 0.24, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.22% and HSV saturation: 0.39%. Process color model (Four color, CMYK) of #222D38 is Cyan = 0.39, Magento = 0.20, Yellow = 0 and Black (K on CMYK) = 0.78.
Color convert
| RGB | 34 | 45 | 56 | - |
| CMYK | 0.39 | 0.20 | 0 | 0.78 |
| HSL | 210º | 0.24% | 0.18% | - |
| HSV(B) | 210º | 0.39% | 0.22% | - |
| XYZ | 2.31 | 2.5 | 4.1 | - |
| YUV | 42.97 | 135.36 | 121.61 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 45 | 56 | 0.39 | 0.20 | 0 | 0.78 | 210 | 0.24 | 0.18 |
| Hex | 22 | 2D | 38 | 27 | 14 | 0 | 4E | D2 | 18 | 12 |
| Octal | 42 | 55 | 70 | 47 | 24 | 0 | 116 | 322 | 30 | 22 |
| Binary | 100010 | 101101 | 111000 | 100111 | 10100 | 0 | 1001110 | 11010010 | 11000 | 10010 |
Color Harmonies of #222D38
Complementary color
Monochromatic Colors of #222D38
Black with #222D38
Text Example
Text Example
White with #222D38
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #222D38; }
p { color: rgb(34,45,56); }
H1.HeaderClassName
{
color: #222D38;
}
.AnyTagClassName
{
color: #222D38;
}
</style>
background-color css
<style>
a { background-color: #222D38; }
a { background-color: rgb(34,45,56); }
div.DivClassName
{
background-color: #222D38;
}
.BgClassName
{
background-color: #222D38;
}
</style>
border-color css
<style>
span { border-color: #222D38; }
span { border-color: rgb(34,45,56); }
td.TdClassName
{
border-color: #222D38;
}
.TagClassName
{
border-color: #222D38;
}
</style>