Html Css Color HEX #21157E Midnight Blue

📋 copy color: '#21157E'

red 33 ◦ green 21 ◦ blue 126

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

Shades of Midnight Blue #21157E

Tints of Midnight Blue #21157E

RGB

 RED value IS 33 (13.28% from 255) = 18.33%

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

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

R = 18.33%
G = 11.67%
B = 70%

CMYK

 C value IS 0.74

 M value IS 0.83

 Y value IS 0

 K value IS 0.51

RGB Variations

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

Color information

#21157E (or 0x21157E) is known color: Midnight Blue. HEX triplet: 21, 15 and 7E. RGB value is (33,21,126). Sum of RGB (Red+Green+Blue) = 33+21+126=180 (23% of max value = 765). Red value is 33 (13.28% from 255 or 18.33% from 180); Green value is 21 (8.59% from 255 or 11.67% from 180); Blue value is 126 (49.61% from 255 or 70% from 180); Max value from RGB is 126 - color contains mainly: blue. Hex color #21157E is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #21157E is #DEEA81. Grayscale: #242424. Windows color (decimal): -14609026 or 8262945. OLE color: 8262945.

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

Color convert

RGB 33 21 126 -
CMYK 0.74 0.83 0 0.51
HSL 246.86º 0.71% 0.29% -
HSV(B) 246.86º 0.83% 0.49% -
XYZ 4.66 2.37 19.95 -
YUV 36.56 178.48 125.46 -
System Red Green Blue C M Y K H S L
Decimal 33 21 126 0.74 0.83 0 0.51 246.86 0.71 0.29
Hex 21 15 7E 4A 53 0 33 F7 47 1D
Octal 41 25 176 112 123 0 63 367 107 35
Binary 100001 10101 1111110 1001010 1010011 0 110011 11110111 1000111 11101

Color Harmonies of #21157E

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #21157E

Black with #21157E

Text Example


Text Example

White with #21157E

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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