Html Css Color HEX #21157F Midnight Blue

📋 copy color: '#21157F'

red 33 ◦ green 21 ◦ blue 127

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

Shades of Midnight Blue #21157F

Tints of Midnight Blue #21157F

RGB

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

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

 BLUE value IS 127 (50% from 255) = 70.17%

R = 18.23%
G = 11.6%
B = 70.17%

CMYK

 C value IS 0.74

 M value IS 0.83

 Y value IS 0

 K value IS 0.50

RGB Variations

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

Color information

#21157F (or 0x21157F) is known color: Midnight Blue. HEX triplet: 21, 15 and 7F. RGB value is (33,21,127). Sum of RGB (Red+Green+Blue) = 33+21+127=181 (23% of max value = 765). Red value is 33 (13.28% from 255 or 18.23% from 181); Green value is 21 (8.59% from 255 or 11.60% from 181); Blue value is 127 (50% from 255 or 70.17% from 181); Max value from RGB is 127 - color contains mainly: blue. Hex color #21157F is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #21157F is #DEEA80. Grayscale: #242424. Windows color (decimal): -14609025 or 8328481. OLE color: 8328481.

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

Color convert

RGB 33 21 127 -
CMYK 0.74 0.83 0 0.50
HSL 246.79º 0.72% 0.29% -
HSV(B) 246.79º 0.83% 0.5% -
XYZ 4.73 2.39 20.29 -
YUV 36.67 178.98 125.38 -
System Red Green Blue C M Y K H S L
Decimal 33 21 127 0.74 0.83 0 0.50 246.79 0.72 0.29
Hex 21 15 7F 4A 53 0 32 F7 48 1D
Octal 41 25 177 112 123 0 62 367 110 35
Binary 100001 10101 1111111 1001010 1010011 0 110010 11110111 1001000 11101

Color Harmonies of #21157F

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #21157F

Black with #21157F

Text Example


Text Example

White with #21157F

Text Example


Text Example

HTML Codes & Css Web design

color css

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

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

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

background-color css

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

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

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

border-color css

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

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

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