Shades of Midnight Blue #1A0C7A
Tints of Midnight Blue #1A0C7A
RGB
CMYK
RGB Variations
Color information
#1A0C7A (or 0x1A0C7A) is known color: Midnight Blue. HEX triplet: 1A, 0C and 7A. RGB value is (26,12,122). Sum of RGB (Red+Green+Blue) = 26+12+122=160 (21% of max value = 765). Red value is 26 (10.55% from 255 or 16.25% from 160); Green value is 12 (5.08% from 255 or 7.5% from 160); Blue value is 122 (48.05% from 255 or 76.25% from 160); Max value from RGB is 122 - color contains mainly: blue. Hex color #1A0C7A is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1A0C7A is #E5F385. Grayscale: #1C1C1C. Windows color (decimal): -15070086 or 7998490. OLE color: 7998490.
HSL color Cylindrical-coordinate representation of color #1A0C7A: hue angle of 247.64º degrees, saturation: 0.82, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #1A0C7A is Cyan = 0.79, Magento = 0.90, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 26 | 12 | 122 | - |
| CMYK | 0.79 | 0.90 | 0 | 0.52 |
| HSL | 247.64º | 0.82% | 0.26% | - |
| HSV(B) | 247.64º | 0.9% | 0.48% | - |
| XYZ | 4.07 | 1.89 | 18.56 | - |
| YUV | 28.73 | 180.64 | 126.06 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 26 | 12 | 122 | 0.79 | 0.90 | 0 | 0.52 | 247.64 | 0.82 | 0.26 |
| Hex | 1A | C | 7A | 4F | 5A | 0 | 34 | F8 | 52 | 1A |
| Octal | 32 | 14 | 172 | 117 | 132 | 0 | 64 | 370 | 122 | 32 |
| Binary | 11010 | 1100 | 1111010 | 1001111 | 1011010 | 0 | 110100 | 11111000 | 1010010 | 11010 |
Color Harmonies of #1A0C7A
Complementary color
Monochromatic Colors of #1A0C7A
Black with #1A0C7A
Text Example
Text Example
White with #1A0C7A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1A0C7A; }
p { color: rgb(26,12,122); }
H1.HeaderClassName
{
color: #1A0C7A;
}
.AnyTagClassName
{
color: #1A0C7A;
}
</style>
background-color css
<style>
a { background-color: #1A0C7A; }
a { background-color: rgb(26,12,122); }
div.DivClassName
{
background-color: #1A0C7A;
}
.BgClassName
{
background-color: #1A0C7A;
}
</style>
border-color css
<style>
span { border-color: #1A0C7A; }
span { border-color: rgb(26,12,122); }
td.TdClassName
{
border-color: #1A0C7A;
}
.TagClassName
{
border-color: #1A0C7A;
}
</style>