Shades of Midnight #1B2942
Tints of Midnight #1B2942
RGB
CMYK
RGB Variations
Color information
#1B2942 (or 0x1B2942) is known color: Midnight. HEX triplet: 1B, 29 and 42. RGB value is (27,41,66). Sum of RGB (Red+Green+Blue) = 27+41+66=134 (17% of max value = 765). Red value is 27 (10.94% from 255 or 20.15% from 134); Green value is 41 (16.41% from 255 or 30.60% from 134); Blue value is 66 (26.17% from 255 or 49.25% from 134); Max value from RGB is 66 - color contains mainly: blue. Hex color #1B2942 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1B2942 is #E4D6BD. Grayscale: #272727. Windows color (decimal): -14997182 or 4335899. OLE color: 4335899.
HSL color Cylindrical-coordinate representation of color #1B2942: hue angle of 218.46º 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 #1B2942 is Cyan = 0.59, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 27 | 41 | 66 | - |
| CMYK | 0.59 | 0.38 | 0 | 0.74 |
| HSL | 218.46º | 0.42% | 0.18% | - |
| HSV(B) | 218.46º | 0.59% | 0.26% | - |
| XYZ | 2.23 | 2.21 | 5.46 | - |
| YUV | 39.66 | 142.86 | 118.97 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 41 | 66 | 0.59 | 0.38 | 0 | 0.74 | 218.46 | 0.42 | 0.18 |
| Hex | 1B | 29 | 42 | 3B | 26 | 0 | 4A | DA | 2A | 12 |
| Octal | 33 | 51 | 102 | 73 | 46 | 0 | 112 | 332 | 52 | 22 |
| Binary | 11011 | 101001 | 1000010 | 111011 | 100110 | 0 | 1001010 | 11011010 | 101010 | 10010 |
Color Harmonies of #1B2942
Complementary color
Monochromatic Colors of #1B2942
Black with #1B2942
Text Example
Text Example
White with #1B2942
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2942; }
p { color: rgb(27,41,66); }
H1.HeaderClassName
{
color: #1B2942;
}
.AnyTagClassName
{
color: #1B2942;
}
</style>
background-color css
<style>
a { background-color: #1B2942; }
a { background-color: rgb(27,41,66); }
div.DivClassName
{
background-color: #1B2942;
}
.BgClassName
{
background-color: #1B2942;
}
</style>
border-color css
<style>
span { border-color: #1B2942; }
span { border-color: rgb(27,41,66); }
td.TdClassName
{
border-color: #1B2942;
}
.TagClassName
{
border-color: #1B2942;
}
</style>