Html Css Color HEX #21227D Midnight Blue

📋 copy color: '#21227D'

red 33 ◦ green 34 ◦ blue 125

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

Shades of Midnight Blue #21227D

Tints of Midnight Blue #21227D

RGB

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

 GREEN value IS 34 (13.67% from 255) = 17.71%

 BLUE value IS 125 (49.22% from 255) = 65.1%

R = 17.19%
G = 17.71%
B = 65.1%

CMYK

 C value IS 0.74

 M value IS 0.73

 Y value IS 0

 K value IS 0.51

RGB Variations

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

Color information

#21227D (or 0x21227D) is known color: Midnight Blue. HEX triplet: 21, 22 and 7D. RGB value is (33,34,125). Sum of RGB (Red+Green+Blue) = 33+34+125=192 (25% of max value = 765). Red value is 33 (13.28% from 255 or 17.19% from 192); Green value is 34 (13.67% from 255 or 17.71% from 192); Blue value is 125 (49.22% from 255 or 65.10% from 192); Max value from RGB is 125 - color contains mainly: blue. Hex color #21227D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21227D is #DEDD82. Grayscale: #2B2B2B. Windows color (decimal): -14605699 or 8200737. OLE color: 8200737.

HSL color Cylindrical-coordinate representation of color #21227D: hue angle of 239.35º degrees, saturation: 0.58, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #21227D is Cyan = 0.74, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.51.

Color convert

RGB 33 34 125 -
CMYK 0.74 0.73 0 0.51
HSL 239.35º 0.58% 0.31% -
HSV(B) 239.35º 0.74% 0.49% -
XYZ 4.9 2.95 19.71 -
YUV 44.08 173.67 120.1 -
System Red Green Blue C M Y K H S L
Decimal 33 34 125 0.74 0.73 0 0.51 239.35 0.58 0.31
Hex 21 22 7D 4A 49 0 33 EF 3A 1F
Octal 41 42 175 112 111 0 63 357 72 37
Binary 100001 100010 1111101 1001010 1001001 0 110011 11101111 111010 11111

Color Harmonies of #21227D

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #21227D

Black with #21227D

Text Example


Text Example

White with #21227D

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #21227D; }

 p { color: rgb(33,34,125); }

 H1.HeaderClassName
 {
   color: #21227D;
 }
 .AnyTagClassName
 {
   color: #21227D;
 }
</style>

background-color css

<style>
 a { background-color: #21227D; }

 a { background-color: rgb(33,34,125); }

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

border-color css

<style>
 span { border-color: #21227D; }

 span { border-color: rgb(33,34,125); }

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