Html Css Color HEX #0C157A Midnight Blue

📋 copy color: '#0C157A'

red 12 ◦ green 21 ◦ blue 122

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

Shades of Midnight Blue #0C157A

Tints of Midnight Blue #0C157A

RGB

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

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

 BLUE value IS 122 (48.05% from 255) = 78.71%

R = 7.74%
G = 13.55%
B = 78.71%

CMYK

 C value IS 0.90

 M value IS 0.83

 Y value IS 0

 K value IS 0.52

RGB Variations

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

Color information

#0C157A (or 0x0C157A) is known color: Midnight Blue. HEX triplet: 0C, 15 and 7A. RGB value is (12,21,122). Sum of RGB (Red+Green+Blue) = 12+21+122=155 (20% of max value = 765). Red value is 12 (5.08% from 255 or 7.74% from 155); Green value is 21 (8.59% from 255 or 13.55% from 155); Blue value is 122 (48.05% from 255 or 78.71% from 155); Max value from RGB is 122 - color contains mainly: blue. Hex color #0C157A is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C157A is #F3EA85. Grayscale: #1D1D1D. Windows color (decimal): -15985286 or 8000780. OLE color: 8000780.

HSL color Cylindrical-coordinate representation of color #0C157A: hue angle of 235.09º 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 #0C157A is Cyan = 0.90, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.52.

Color convert

RGB 12 21 122 -
CMYK 0.90 0.83 0 0.52
HSL 235.09º 0.82% 0.26% -
HSV(B) 235.09º 0.9% 0.48% -
XYZ 3.93 2.02 18.59 -
YUV 29.82 180.02 115.29 -
System Red Green Blue C M Y K H S L
Decimal 12 21 122 0.90 0.83 0 0.52 235.09 0.82 0.26
Hex C 15 7A 5A 53 0 34 EB 52 1A
Octal 14 25 172 132 123 0 64 353 122 32
Binary 1100 10101 1111010 1011010 1010011 0 110100 11101011 1010010 11010

Color Harmonies of #0C157A

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #0C157A

Black with #0C157A

Text Example


Text Example

White with #0C157A

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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