Shades of Midnight #1F2D3B
Tints of Midnight #1F2D3B
RGB
CMYK
RGB Variations
Color information
#1F2D3B (or 0x1F2D3B) is known color: Midnight. HEX triplet: 1F, 2D and 3B. RGB value is (31,45,59). Sum of RGB (Red+Green+Blue) = 31+45+59=135 (17% of max value = 765). Red value is 31 (12.5% from 255 or 22.96% from 135); Green value is 45 (17.97% from 255 or 33.33% from 135); Blue value is 59 (23.44% from 255 or 43.70% from 135); Max value from RGB is 59 - color contains mainly: blue. Hex color #1F2D3B is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2D3B is #E0D2C4. Grayscale: #2A2A2A. Windows color (decimal): -14734021 or 3878175. OLE color: 3878175.
HSL color Cylindrical-coordinate representation of color #1F2D3B: hue angle of 210º degrees, saturation: 0.31, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.23% and HSV saturation: 0.47%. Process color model (Four color, CMYK) of #1F2D3B is Cyan = 0.47, Magento = 0.24, Yellow = 0 and Black (K on CMYK) = 0.77.
Color convert
| RGB | 31 | 45 | 59 | - |
| CMYK | 0.47 | 0.24 | 0 | 0.77 |
| HSL | 210º | 0.31% | 0.18% | - |
| HSV(B) | 210º | 0.47% | 0.23% | - |
| XYZ | 2.29 | 2.48 | 4.5 | - |
| YUV | 42.41 | 137.36 | 119.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 45 | 59 | 0.47 | 0.24 | 0 | 0.77 | 210 | 0.31 | 0.18 |
| Hex | 1F | 2D | 3B | 2F | 18 | 0 | 4D | D2 | 1F | 12 |
| Octal | 37 | 55 | 73 | 57 | 30 | 0 | 115 | 322 | 37 | 22 |
| Binary | 11111 | 101101 | 111011 | 101111 | 11000 | 0 | 1001101 | 11010010 | 11111 | 10010 |
Color Harmonies of #1F2D3B
Complementary color
Monochromatic Colors of #1F2D3B
Black with #1F2D3B
Text Example
Text Example
White with #1F2D3B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2D3B; }
p { color: rgb(31,45,59); }
H1.HeaderClassName
{
color: #1F2D3B;
}
.AnyTagClassName
{
color: #1F2D3B;
}
</style>
background-color css
<style>
a { background-color: #1F2D3B; }
a { background-color: rgb(31,45,59); }
div.DivClassName
{
background-color: #1F2D3B;
}
.BgClassName
{
background-color: #1F2D3B;
}
</style>
border-color css
<style>
span { border-color: #1F2D3B; }
span { border-color: rgb(31,45,59); }
td.TdClassName
{
border-color: #1F2D3B;
}
.TagClassName
{
border-color: #1F2D3B;
}
</style>