Shades of Midnight #1F2D3E
Tints of Midnight #1F2D3E
RGB
CMYK
RGB Variations
Color information
#1F2D3E (or 0x1F2D3E) is known color: Midnight. HEX triplet: 1F, 2D and 3E. RGB value is (31,45,62). Sum of RGB (Red+Green+Blue) = 31+45+62=138 (18% of max value = 765). Red value is 31 (12.5% from 255 or 22.46% from 138); Green value is 45 (17.97% from 255 or 32.61% from 138); Blue value is 62 (24.61% from 255 or 44.93% from 138); Max value from RGB is 62 - color contains mainly: blue. Hex color #1F2D3E is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2D3E is #E0D2C1. Grayscale: #2A2A2A. Windows color (decimal): -14734018 or 4074783. OLE color: 4074783.
HSL color Cylindrical-coordinate representation of color #1F2D3E: hue angle of 212.9º degrees, saturation: 0.33, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.24% and HSV saturation: 0.5%. Process color model (Four color, CMYK) of #1F2D3E is Cyan = 0.5, Magento = 0.27, Yellow = 0 and Black (K on CMYK) = 0.76.
Color convert
| RGB | 31 | 45 | 62 | - |
| CMYK | 0.5 | 0.27 | 0 | 0.76 |
| HSL | 212.9º | 0.33% | 0.18% | - |
| HSV(B) | 212.9º | 0.5% | 0.24% | - |
| XYZ | 2.37 | 2.52 | 4.92 | - |
| YUV | 42.75 | 138.86 | 119.62 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 45 | 62 | 0.5 | 0.27 | 0 | 0.76 | 212.9 | 0.33 | 0.18 |
| Hex | 1F | 2D | 3E | 32 | 1B | 0 | 4C | D5 | 21 | 12 |
| Octal | 37 | 55 | 76 | 62 | 33 | 0 | 114 | 325 | 41 | 22 |
| Binary | 11111 | 101101 | 111110 | 110010 | 11011 | 0 | 1001100 | 11010101 | 100001 | 10010 |
Color Harmonies of #1F2D3E
Complementary color
Monochromatic Colors of #1F2D3E
Black with #1F2D3E
Text Example
Text Example
White with #1F2D3E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2D3E; }
p { color: rgb(31,45,62); }
H1.HeaderClassName
{
color: #1F2D3E;
}
.AnyTagClassName
{
color: #1F2D3E;
}
</style>
background-color css
<style>
a { background-color: #1F2D3E; }
a { background-color: rgb(31,45,62); }
div.DivClassName
{
background-color: #1F2D3E;
}
.BgClassName
{
background-color: #1F2D3E;
}
</style>
border-color css
<style>
span { border-color: #1F2D3E; }
span { border-color: rgb(31,45,62); }
td.TdClassName
{
border-color: #1F2D3E;
}
.TagClassName
{
border-color: #1F2D3E;
}
</style>