Shades of Midnight #1F2D3C
Tints of Midnight #1F2D3C
RGB
CMYK
RGB Variations
Color information
#1F2D3C (or 0x1F2D3C) is known color: Midnight. HEX triplet: 1F, 2D and 3C. RGB value is (31,45,60). Sum of RGB (Red+Green+Blue) = 31+45+60=136 (18% of max value = 765). Red value is 31 (12.5% from 255 or 22.79% from 136); Green value is 45 (17.97% from 255 or 33.09% from 136); Blue value is 60 (23.83% from 255 or 44.12% from 136); Max value from RGB is 60 - color contains mainly: blue. Hex color #1F2D3C is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2D3C is #E0D2C3. Grayscale: #2A2A2A. Windows color (decimal): -14734020 or 3943711. OLE color: 3943711.
HSL color Cylindrical-coordinate representation of color #1F2D3C: hue angle of 211.03º degrees, saturation: 0.32, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.24% and HSV saturation: 0.48%. Process color model (Four color, CMYK) of #1F2D3C is Cyan = 0.48, Magento = 0.25, Yellow = 0 and Black (K on CMYK) = 0.76.
Color convert
| RGB | 31 | 45 | 60 | - |
| CMYK | 0.48 | 0.25 | 0 | 0.76 |
| HSL | 211.03º | 0.32% | 0.18% | - |
| HSV(B) | 211.03º | 0.48% | 0.24% | - |
| XYZ | 2.32 | 2.49 | 4.63 | - |
| YUV | 42.52 | 137.86 | 119.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 45 | 60 | 0.48 | 0.25 | 0 | 0.76 | 211.03 | 0.32 | 0.18 |
| Hex | 1F | 2D | 3C | 30 | 19 | 0 | 4C | D3 | 20 | 12 |
| Octal | 37 | 55 | 74 | 60 | 31 | 0 | 114 | 323 | 40 | 22 |
| Binary | 11111 | 101101 | 111100 | 110000 | 11001 | 0 | 1001100 | 11010011 | 100000 | 10010 |
Color Harmonies of #1F2D3C
Complementary color
Monochromatic Colors of #1F2D3C
Black with #1F2D3C
Text Example
Text Example
White with #1F2D3C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2D3C; }
p { color: rgb(31,45,60); }
H1.HeaderClassName
{
color: #1F2D3C;
}
.AnyTagClassName
{
color: #1F2D3C;
}
</style>
background-color css
<style>
a { background-color: #1F2D3C; }
a { background-color: rgb(31,45,60); }
div.DivClassName
{
background-color: #1F2D3C;
}
.BgClassName
{
background-color: #1F2D3C;
}
</style>
border-color css
<style>
span { border-color: #1F2D3C; }
span { border-color: rgb(31,45,60); }
td.TdClassName
{
border-color: #1F2D3C;
}
.TagClassName
{
border-color: #1F2D3C;
}
</style>