Shades of Midnight #1C2D40
Tints of Midnight #1C2D40
RGB
CMYK
RGB Variations
Color information
#1C2D40 (or 0x1C2D40) is known color: Midnight. HEX triplet: 1C, 2D and 40. RGB value is (28,45,64). Sum of RGB (Red+Green+Blue) = 28+45+64=137 (18% of max value = 765). Red value is 28 (11.33% from 255 or 20.44% from 137); Green value is 45 (17.97% from 255 or 32.85% from 137); Blue value is 64 (25.39% from 255 or 46.72% from 137); Max value from RGB is 64 - color contains mainly: blue. Hex color #1C2D40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1C2D40 is #E3D2BF. Grayscale: #292929. Windows color (decimal): -14930624 or 4205852. OLE color: 4205852.
HSL color Cylindrical-coordinate representation of color #1C2D40: hue angle of 211.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 #1C2D40 is Cyan = 0.56, Magento = 0.30, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 28 | 45 | 64 | - |
| CMYK | 0.56 | 0.30 | 0 | 0.75 |
| HSL | 211.67º | 0.39% | 0.18% | - |
| HSV(B) | 211.67º | 0.56% | 0.25% | - |
| XYZ | 2.34 | 2.49 | 5.21 | - |
| YUV | 42.08 | 140.37 | 117.96 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 28 | 45 | 64 | 0.56 | 0.30 | 0 | 0.75 | 211.67 | 0.39 | 0.18 |
| Hex | 1C | 2D | 40 | 38 | 1E | 0 | 4B | D4 | 27 | 12 |
| Octal | 34 | 55 | 100 | 70 | 36 | 0 | 113 | 324 | 47 | 22 |
| Binary | 11100 | 101101 | 1000000 | 111000 | 11110 | 0 | 1001011 | 11010100 | 100111 | 10010 |
Color Harmonies of #1C2D40
Complementary color
Monochromatic Colors of #1C2D40
Black with #1C2D40
Text Example
Text Example
White with #1C2D40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1C2D40; }
p { color: rgb(28,45,64); }
H1.HeaderClassName
{
color: #1C2D40;
}
.AnyTagClassName
{
color: #1C2D40;
}
</style>
background-color css
<style>
a { background-color: #1C2D40; }
a { background-color: rgb(28,45,64); }
div.DivClassName
{
background-color: #1C2D40;
}
.BgClassName
{
background-color: #1C2D40;
}
</style>
border-color css
<style>
span { border-color: #1C2D40; }
span { border-color: rgb(28,45,64); }
td.TdClassName
{
border-color: #1C2D40;
}
.TagClassName
{
border-color: #1C2D40;
}
</style>