Shades of Midnight #1B2E42
Tints of Midnight #1B2E42
RGB
CMYK
RGB Variations
Color information
#1B2E42 (or 0x1B2E42) is known color: Midnight. HEX triplet: 1B, 2E and 42. RGB value is (27,46,66). Sum of RGB (Red+Green+Blue) = 27+46+66=139 (18% of max value = 765). Red value is 27 (10.94% from 255 or 19.42% from 139); Green value is 46 (18.36% from 255 or 33.09% from 139); Blue value is 66 (26.17% from 255 or 47.48% from 139); Max value from RGB is 66 - color contains mainly: blue. Hex color #1B2E42 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1B2E42 is #E4D1BD. Grayscale: #2A2A2A. Windows color (decimal): -14995902 or 4337179. OLE color: 4337179.
HSL color Cylindrical-coordinate representation of color #1B2E42: hue angle of 210.77º 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 #1B2E42 is Cyan = 0.59, Magento = 0.30, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 27 | 46 | 66 | - |
| CMYK | 0.59 | 0.30 | 0 | 0.74 |
| HSL | 210.77º | 0.42% | 0.18% | - |
| HSV(B) | 210.77º | 0.59% | 0.26% | - |
| XYZ | 2.41 | 2.58 | 5.53 | - |
| YUV | 42.6 | 141.21 | 116.87 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 46 | 66 | 0.59 | 0.30 | 0 | 0.74 | 210.77 | 0.42 | 0.18 |
| Hex | 1B | 2E | 42 | 3B | 1E | 0 | 4A | D3 | 2A | 12 |
| Octal | 33 | 56 | 102 | 73 | 36 | 0 | 112 | 323 | 52 | 22 |
| Binary | 11011 | 101110 | 1000010 | 111011 | 11110 | 0 | 1001010 | 11010011 | 101010 | 10010 |
Color Harmonies of #1B2E42
Complementary color
Monochromatic Colors of #1B2E42
Black with #1B2E42
Text Example
Text Example
White with #1B2E42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2E42; }
p { color: rgb(27,46,66); }
H1.HeaderClassName
{
color: #1B2E42;
}
.AnyTagClassName
{
color: #1B2E42;
}
</style>
background-color css
<style>
a { background-color: #1B2E42; }
a { background-color: rgb(27,46,66); }
div.DivClassName
{
background-color: #1B2E42;
}
.BgClassName
{
background-color: #1B2E42;
}
</style>
border-color css
<style>
span { border-color: #1B2E42; }
span { border-color: rgb(27,46,66); }
td.TdClassName
{
border-color: #1B2E42;
}
.TagClassName
{
border-color: #1B2E42;
}
</style>