Shades of Midnight Blue #0C0266
Tints of Midnight Blue #0C0266
RGB
CMYK
RGB Variations
Color information
#0C0266 (or 0x0C0266) is known color: Midnight Blue. HEX triplet: 0C, 02 and 66. RGB value is (12,2,102). Sum of RGB (Red+Green+Blue) = 12+2+102=116 (15% of max value = 765). Red value is 12 (5.08% from 255 or 10.34% from 116); Green value is 2 (1.17% from 255 or 1.72% from 116); Blue value is 102 (40.23% from 255 or 87.93% from 116); Max value from RGB is 102 - color contains mainly: blue. Hex color #0C0266 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C0266 is #F3FD99. Grayscale: #101010. Windows color (decimal): -15990170 or 6685196. OLE color: 6685196.
HSL color Cylindrical-coordinate representation of color #0C0266: hue angle of 246º degrees, saturation: 0.96, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.4% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #0C0266 is Cyan = 0.88, Magento = 0.98, Yellow = 0 and Black (K on CMYK) = 0.6.
Color convert
| RGB | 12 | 2 | 102 | - |
| CMYK | 0.88 | 0.98 | 0 | 0.6 |
| HSL | 246º | 0.96% | 0.2% | - |
| HSV(B) | 246º | 0.98% | 0.4% | - |
| XYZ | 2.57 | 1.08 | 12.64 | - |
| YUV | 16.39 | 176.31 | 124.87 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 2 | 102 | 0.88 | 0.98 | 0 | 0.6 | 246 | 0.96 | 0.2 |
| Hex | C | 2 | 66 | 58 | 62 | 0 | 3C | F6 | 60 | 14 |
| Octal | 14 | 2 | 146 | 130 | 142 | 0 | 74 | 366 | 140 | 24 |
| Binary | 1100 | 10 | 1100110 | 1011000 | 1100010 | 0 | 111100 | 11110110 | 1100000 | 10100 |
Color Harmonies of #0C0266
Complementary color
Monochromatic Colors of #0C0266
Black with #0C0266
Text Example
Text Example
White with #0C0266
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C0266; }
p { color: rgb(12,2,102); }
H1.HeaderClassName
{
color: #0C0266;
}
.AnyTagClassName
{
color: #0C0266;
}
</style>
background-color css
<style>
a { background-color: #0C0266; }
a { background-color: rgb(12,2,102); }
div.DivClassName
{
background-color: #0C0266;
}
.BgClassName
{
background-color: #0C0266;
}
</style>
border-color css
<style>
span { border-color: #0C0266; }
span { border-color: rgb(12,2,102); }
td.TdClassName
{
border-color: #0C0266;
}
.TagClassName
{
border-color: #0C0266;
}
</style>