Shades of Midnight #223040
Tints of Midnight #223040
RGB
CMYK
RGB Variations
Color information
#223040 (or 0x223040) is known color: Midnight. HEX triplet: 22, 30 and 40. RGB value is (34,48,64). Sum of RGB (Red+Green+Blue) = 34+48+64=146 (19% of max value = 765). Red value is 34 (13.67% from 255 or 23.29% from 146); Green value is 48 (19.14% from 255 or 32.88% from 146); Blue value is 64 (25.39% from 255 or 43.84% from 146); Max value from RGB is 64 - color contains mainly: blue. Hex color #223040 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #223040 is #DDCFBF. Grayscale: #2D2D2D. Windows color (decimal): -14536640 or 4206626. OLE color: 4206626.
HSL color Cylindrical-coordinate representation of color #223040: hue angle of 212º degrees, saturation: 0.31, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.47%. Process color model (Four color, CMYK) of #223040 is Cyan = 0.47, Magento = 0.25, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 34 | 48 | 64 | - |
| CMYK | 0.47 | 0.25 | 0 | 0.75 |
| HSL | 212º | 0.31% | 0.19% | - |
| HSV(B) | 212º | 0.47% | 0.25% | - |
| XYZ | 2.64 | 2.82 | 5.26 | - |
| YUV | 45.64 | 138.36 | 119.7 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 48 | 64 | 0.47 | 0.25 | 0 | 0.75 | 212 | 0.31 | 0.19 |
| Hex | 22 | 30 | 40 | 2F | 19 | 0 | 4B | D4 | 1F | 13 |
| Octal | 42 | 60 | 100 | 57 | 31 | 0 | 113 | 324 | 37 | 23 |
| Binary | 100010 | 110000 | 1000000 | 101111 | 11001 | 0 | 1001011 | 11010100 | 11111 | 10011 |
Color Harmonies of #223040
Complementary color
Monochromatic Colors of #223040
Black with #223040
Text Example
Text Example
White with #223040
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #223040; }
p { color: rgb(34,48,64); }
H1.HeaderClassName
{
color: #223040;
}
.AnyTagClassName
{
color: #223040;
}
</style>
background-color css
<style>
a { background-color: #223040; }
a { background-color: rgb(34,48,64); }
div.DivClassName
{
background-color: #223040;
}
.BgClassName
{
background-color: #223040;
}
</style>
border-color css
<style>
span { border-color: #223040; }
span { border-color: rgb(34,48,64); }
td.TdClassName
{
border-color: #223040;
}
.TagClassName
{
border-color: #223040;
}
</style>