Html Css Color HEX #12157E Midnight Blue

📋 copy color: '#12157E'

red 18 ◦ green 21 ◦ blue 126

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

Shades of Midnight Blue #12157E

Tints of Midnight Blue #12157E

RGB

 RED value IS 18 (7.42% from 255) = 10.91%

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

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

R = 10.91%
G = 12.73%
B = 76.36%

CMYK

 C value IS 0.86

 M value IS 0.83

 Y value IS 0

 K value IS 0.51

RGB Variations

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

Color information

#12157E (or 0x12157E) is known color: Midnight Blue. HEX triplet: 12, 15 and 7E. RGB value is (18,21,126). Sum of RGB (Red+Green+Blue) = 18+21+126=165 (21% of max value = 765). Red value is 18 (7.42% from 255 or 10.91% from 165); Green value is 21 (8.59% from 255 or 12.73% from 165); Blue value is 126 (49.61% from 255 or 76.36% from 165); Max value from RGB is 126 - color contains mainly: blue. Hex color #12157E is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #12157E is #EDEA81. Grayscale: #1F1F1F. Windows color (decimal): -15592066 or 8262930. OLE color: 8262930.

HSL color Cylindrical-coordinate representation of color #12157E: hue angle of 238.33º degrees, saturation: 0.75, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.86%. Process color model (Four color, CMYK) of #12157E is Cyan = 0.86, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.51.

Color convert

RGB 18 21 126 -
CMYK 0.86 0.83 0 0.51
HSL 238.33º 0.75% 0.28% -
HSV(B) 238.33º 0.86% 0.49% -
XYZ 4.28 2.17 19.93 -
YUV 32.07 181.01 117.96 -
System Red Green Blue C M Y K H S L
Decimal 18 21 126 0.86 0.83 0 0.51 238.33 0.75 0.28
Hex 12 15 7E 56 53 0 33 EE 4B 1C
Octal 22 25 176 126 123 0 63 356 113 34
Binary 10010 10101 1111110 1010110 1010011 0 110011 11101110 1001011 11100

Color Harmonies of #12157E

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #12157E

Black with #12157E

Text Example


Text Example

White with #12157E

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #12157E; }

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

 H1.HeaderClassName
 {
   color: #12157E;
 }
 .AnyTagClassName
 {
   color: #12157E;
 }
</style>

background-color css

<style>
 a { background-color: #12157E; }

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

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

border-color css

<style>
 span { border-color: #12157E; }

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

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