Html Css Color HEX #0C157E Midnight Blue

📋 copy color: '#0C157E'

red 12 ◦ green 21 ◦ blue 126

#0C157E
Download Color Icon.PNG:
16x16 32x32 64x64 128x128 256x256

Shades of Midnight Blue #0C157E

Tints of Midnight Blue #0C157E

RGB

 RED value IS 12 (5.08% from 255) = 7.55%

 GREEN value IS 21 (8.59% from 255) = 13.21%

 BLUE value IS 126 (49.61% from 255) = 79.25%

R = 7.55%
G = 13.21%
B = 79.25%

CMYK

 C value IS 0.90

 M value IS 0.83

 Y value IS 0

 K value IS 0.51

RGB Variations

RGB:
RBG:
GRB:
GBR:
BRG:
BGR:

Color information

#0C157E (or 0x0C157E) is known color: Midnight Blue. HEX triplet: 0C, 15 and 7E. RGB value is (12,21,126). Sum of RGB (Red+Green+Blue) = 12+21+126=159 (21% of max value = 765). Red value is 12 (5.08% from 255 or 7.55% from 159); Green value is 21 (8.59% from 255 or 13.21% from 159); Blue value is 126 (49.61% from 255 or 79.25% from 159); Max value from RGB is 126 - color contains mainly: blue. Hex color #0C157E is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C157E is #F3EA81. Grayscale: #1D1D1D. Windows color (decimal): -15985282 or 8262924. OLE color: 8262924.

HSL color Cylindrical-coordinate representation of color #0C157E: hue angle of 235.26º degrees, saturation: 0.83, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #0C157E is Cyan = 0.90, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.51.

Color convert

RGB 12 21 126 -
CMYK 0.90 0.83 0 0.51
HSL 235.26º 0.83% 0.27% -
HSV(B) 235.26º 0.9% 0.49% -
XYZ 4.19 2.12 19.93 -
YUV 30.28 182.02 114.96 -
System Red Green Blue C M Y K H S L
Decimal 12 21 126 0.90 0.83 0 0.51 235.26 0.83 0.27
Hex C 15 7E 5A 53 0 33 EB 53 1B
Octal 14 25 176 132 123 0 63 353 123 33
Binary 1100 10101 1111110 1011010 1010011 0 110011 11101011 1010011 11011

Color Harmonies of #0C157E

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #0C157E

Black with #0C157E

Text Example


Text Example

White with #0C157E

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #0C157E; }

 p { color: rgb(12,21,126); }

 H1.HeaderClassName
 {
   color: #0C157E;
 }
 .AnyTagClassName
 {
   color: #0C157E;
 }
</style>

background-color css

<style>
 a { background-color: #0C157E; }

 a { background-color: rgb(12,21,126); }

 div.DivClassName
 {
   background-color: #0C157E;
 }
 .BgClassName
 {
   background-color: #0C157E;
 }
</style>

border-color css

<style>
 span { border-color: #0C157E; }

 span { border-color: rgb(12,21,126); }

 td.TdClassName
 {
   border-color: #0C157E;
 }
 .TagClassName
 {
   border-color: #0C157E;
 }
</style>