Shades of Midnight #1C2A40
Tints of Midnight #1C2A40
RGB
CMYK
RGB Variations
Color information
#1C2A40 (or 0x1C2A40) is known color: Midnight. HEX triplet: 1C, 2A and 40. RGB value is (28,42,64). Sum of RGB (Red+Green+Blue) = 28+42+64=134 (17% of max value = 765). Red value is 28 (11.33% from 255 or 20.90% from 134); Green value is 42 (16.80% from 255 or 31.34% from 134); Blue value is 64 (25.39% from 255 or 47.76% from 134); Max value from RGB is 64 - color contains mainly: blue. Hex color #1C2A40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1C2A40 is #E3D5BF. Grayscale: #282828. Windows color (decimal): -14931392 or 4205084. OLE color: 4205084.
HSL color Cylindrical-coordinate representation of color #1C2A40: hue angle of 216.67º degrees, saturation: 0.39, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.56%. Process color model (Four color, CMYK) of #1C2A40 is Cyan = 0.56, Magento = 0.34, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 28 | 42 | 64 | - |
| CMYK | 0.56 | 0.34 | 0 | 0.75 |
| HSL | 216.67º | 0.39% | 0.18% | - |
| HSV(B) | 216.67º | 0.56% | 0.25% | - |
| XYZ | 2.23 | 2.27 | 5.17 | - |
| YUV | 40.32 | 141.36 | 119.21 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 28 | 42 | 64 | 0.56 | 0.34 | 0 | 0.75 | 216.67 | 0.39 | 0.18 |
| Hex | 1C | 2A | 40 | 38 | 22 | 0 | 4B | D9 | 27 | 12 |
| Octal | 34 | 52 | 100 | 70 | 42 | 0 | 113 | 331 | 47 | 22 |
| Binary | 11100 | 101010 | 1000000 | 111000 | 100010 | 0 | 1001011 | 11011001 | 100111 | 10010 |
Color Harmonies of #1C2A40
Complementary color
Monochromatic Colors of #1C2A40
Black with #1C2A40
Text Example
Text Example
White with #1C2A40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1C2A40; }
p { color: rgb(28,42,64); }
H1.HeaderClassName
{
color: #1C2A40;
}
.AnyTagClassName
{
color: #1C2A40;
}
</style>
background-color css
<style>
a { background-color: #1C2A40; }
a { background-color: rgb(28,42,64); }
div.DivClassName
{
background-color: #1C2A40;
}
.BgClassName
{
background-color: #1C2A40;
}
</style>
border-color css
<style>
span { border-color: #1C2A40; }
span { border-color: rgb(28,42,64); }
td.TdClassName
{
border-color: #1C2A40;
}
.TagClassName
{
border-color: #1C2A40;
}
</style>