Shades of Midnight #1F2A3C
Tints of Midnight #1F2A3C
RGB
CMYK
RGB Variations
Color information
#1F2A3C (or 0x1F2A3C) is known color: Midnight. HEX triplet: 1F, 2A and 3C. RGB value is (31,42,60). Sum of RGB (Red+Green+Blue) = 31+42+60=133 (17% of max value = 765). Red value is 31 (12.5% from 255 or 23.31% from 133); Green value is 42 (16.80% from 255 or 31.58% from 133); Blue value is 60 (23.83% from 255 or 45.11% from 133); Max value from RGB is 60 - color contains mainly: blue. Hex color #1F2A3C is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2A3C is #E0D5C3. Grayscale: #282828. Windows color (decimal): -14734788 or 3942943. OLE color: 3942943.
HSL color Cylindrical-coordinate representation of color #1F2A3C: hue angle of 217.24º 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 #1F2A3C is Cyan = 0.48, Magento = 0.3, Yellow = 0 and Black (K on CMYK) = 0.76.
Color convert
| RGB | 31 | 42 | 60 | - |
| CMYK | 0.48 | 0.3 | 0 | 0.76 |
| HSL | 217.24º | 0.32% | 0.18% | - |
| HSV(B) | 217.24º | 0.48% | 0.24% | - |
| XYZ | 2.21 | 2.27 | 4.6 | - |
| YUV | 40.76 | 138.86 | 121.04 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 42 | 60 | 0.48 | 0.3 | 0 | 0.76 | 217.24 | 0.32 | 0.18 |
| Hex | 1F | 2A | 3C | 30 | 1E | 0 | 4C | D9 | 20 | 12 |
| Octal | 37 | 52 | 74 | 60 | 36 | 0 | 114 | 331 | 40 | 22 |
| Binary | 11111 | 101010 | 111100 | 110000 | 11110 | 0 | 1001100 | 11011001 | 100000 | 10010 |
Color Harmonies of #1F2A3C
Complementary color
Monochromatic Colors of #1F2A3C
Black with #1F2A3C
Text Example
Text Example
White with #1F2A3C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2A3C; }
p { color: rgb(31,42,60); }
H1.HeaderClassName
{
color: #1F2A3C;
}
.AnyTagClassName
{
color: #1F2A3C;
}
</style>
background-color css
<style>
a { background-color: #1F2A3C; }
a { background-color: rgb(31,42,60); }
div.DivClassName
{
background-color: #1F2A3C;
}
.BgClassName
{
background-color: #1F2A3C;
}
</style>
border-color css
<style>
span { border-color: #1F2A3C; }
span { border-color: rgb(31,42,60); }
td.TdClassName
{
border-color: #1F2A3C;
}
.TagClassName
{
border-color: #1F2A3C;
}
</style>