Shades of Midnight #1B2F42
Tints of Midnight #1B2F42
RGB
CMYK
RGB Variations
Color information
#1B2F42 (or 0x1B2F42) is known color: Midnight. HEX triplet: 1B, 2F and 42. RGB value is (27,47,66). Sum of RGB (Red+Green+Blue) = 27+47+66=140 (18% of max value = 765). Red value is 27 (10.94% from 255 or 19.29% from 140); Green value is 47 (18.75% from 255 or 33.57% from 140); Blue value is 66 (26.17% from 255 or 47.14% from 140); Max value from RGB is 66 - color contains mainly: blue. Hex color #1B2F42 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1B2F42 is #E4D0BD. Grayscale: #2B2B2B. Windows color (decimal): -14995646 or 4337435. OLE color: 4337435.
HSL color Cylindrical-coordinate representation of color #1B2F42: hue angle of 209.23º degrees, saturation: 0.42, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.59%. Process color model (Four color, CMYK) of #1B2F42 is Cyan = 0.59, Magento = 0.29, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 27 | 47 | 66 | - |
| CMYK | 0.59 | 0.29 | 0 | 0.74 |
| HSL | 209.23º | 0.42% | 0.18% | - |
| HSV(B) | 209.23º | 0.59% | 0.26% | - |
| XYZ | 2.45 | 2.66 | 5.54 | - |
| YUV | 43.19 | 140.87 | 116.46 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 47 | 66 | 0.59 | 0.29 | 0 | 0.74 | 209.23 | 0.42 | 0.18 |
| Hex | 1B | 2F | 42 | 3B | 1D | 0 | 4A | D1 | 2A | 12 |
| Octal | 33 | 57 | 102 | 73 | 35 | 0 | 112 | 321 | 52 | 22 |
| Binary | 11011 | 101111 | 1000010 | 111011 | 11101 | 0 | 1001010 | 11010001 | 101010 | 10010 |
Color Harmonies of #1B2F42
Complementary color
Monochromatic Colors of #1B2F42
Black with #1B2F42
Text Example
Text Example
White with #1B2F42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2F42; }
p { color: rgb(27,47,66); }
H1.HeaderClassName
{
color: #1B2F42;
}
.AnyTagClassName
{
color: #1B2F42;
}
</style>
background-color css
<style>
a { background-color: #1B2F42; }
a { background-color: rgb(27,47,66); }
div.DivClassName
{
background-color: #1B2F42;
}
.BgClassName
{
background-color: #1B2F42;
}
</style>
border-color css
<style>
span { border-color: #1B2F42; }
span { border-color: rgb(27,47,66); }
td.TdClassName
{
border-color: #1B2F42;
}
.TagClassName
{
border-color: #1B2F42;
}
</style>