Shades of Midnight #1B304C
Tints of Midnight #1B304C
RGB
CMYK
RGB Variations
Color information
#1B304C (or 0x1B304C) is known color: Midnight. HEX triplet: 1B, 30 and 4C. RGB value is (27,48,76). Sum of RGB (Red+Green+Blue) = 27+48+76=151 (20% of max value = 765). Red value is 27 (10.94% from 255 or 17.88% from 151); Green value is 48 (19.14% from 255 or 31.79% from 151); Blue value is 76 (30.08% from 255 or 50.33% from 151); Max value from RGB is 76 - color contains mainly: blue. Hex color #1B304C is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1B304C is #E4CFB3. Grayscale: #2C2C2C. Windows color (decimal): -14995380 or 4993051. OLE color: 4993051.
HSL color Cylindrical-coordinate representation of color #1B304C: hue angle of 214.29º degrees, saturation: 0.48, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.64%. Process color model (Four color, CMYK) of #1B304C is Cyan = 0.64, Magento = 0.37, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 27 | 48 | 76 | - |
| CMYK | 0.64 | 0.37 | 0 | 0.70 |
| HSL | 214.29º | 0.48% | 0.2% | - |
| HSV(B) | 214.29º | 0.64% | 0.3% | - |
| XYZ | 2.81 | 2.87 | 7.24 | - |
| YUV | 44.91 | 145.54 | 115.22 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 48 | 76 | 0.64 | 0.37 | 0 | 0.70 | 214.29 | 0.48 | 0.2 |
| Hex | 1B | 30 | 4C | 40 | 25 | 0 | 46 | D6 | 30 | 14 |
| Octal | 33 | 60 | 114 | 100 | 45 | 0 | 106 | 326 | 60 | 24 |
| Binary | 11011 | 110000 | 1001100 | 1000000 | 100101 | 0 | 1000110 | 11010110 | 110000 | 10100 |
Color Harmonies of #1B304C
Complementary color
Monochromatic Colors of #1B304C
Black with #1B304C
Text Example
Text Example
White with #1B304C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B304C; }
p { color: rgb(27,48,76); }
H1.HeaderClassName
{
color: #1B304C;
}
.AnyTagClassName
{
color: #1B304C;
}
</style>
background-color css
<style>
a { background-color: #1B304C; }
a { background-color: rgb(27,48,76); }
div.DivClassName
{
background-color: #1B304C;
}
.BgClassName
{
background-color: #1B304C;
}
</style>
border-color css
<style>
span { border-color: #1B304C; }
span { border-color: rgb(27,48,76); }
td.TdClassName
{
border-color: #1B304C;
}
.TagClassName
{
border-color: #1B304C;
}
</style>