Html Css Color HEX #221F7E Midnight Blue

📋 copy color: '#221F7E'

red 34 ◦ green 31 ◦ blue 126

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

Shades of Midnight Blue #221F7E

Tints of Midnight Blue #221F7E

RGB

 RED value IS 34 (13.67% from 255) = 17.8%

 GREEN value IS 31 (12.5% from 255) = 16.23%

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

R = 17.8%
G = 16.23%
B = 65.97%

CMYK

 C value IS 0.73

 M value IS 0.75

 Y value IS 0

 K value IS 0.51

RGB Variations

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

Color information

#221F7E (or 0x221F7E) is known color: Midnight Blue. HEX triplet: 22, 1F and 7E. RGB value is (34,31,126). Sum of RGB (Red+Green+Blue) = 34+31+126=191 (25% of max value = 765). Red value is 34 (13.67% from 255 or 17.80% from 191); Green value is 31 (12.5% from 255 or 16.23% from 191); Blue value is 126 (49.61% from 255 or 65.97% from 191); Max value from RGB is 126 - color contains mainly: blue. Hex color #221F7E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #221F7E is #DDE081. Grayscale: #2A2A2A. Windows color (decimal): -14540930 or 8265506. OLE color: 8265506.

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

Color convert

RGB 34 31 126 -
CMYK 0.73 0.75 0 0.51
HSL 241.89º 0.61% 0.31% -
HSV(B) 241.89º 0.75% 0.49% -
XYZ 4.92 2.83 20.03 -
YUV 42.73 174.99 121.78 -
System Red Green Blue C M Y K H S L
Decimal 34 31 126 0.73 0.75 0 0.51 241.89 0.61 0.31
Hex 22 1F 7E 49 4B 0 33 F2 3D 1F
Octal 42 37 176 111 113 0 63 362 75 37
Binary 100010 11111 1111110 1001001 1001011 0 110011 11110010 111101 11111

Color Harmonies of #221F7E

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #221F7E

Black with #221F7E

Text Example


Text Example

White with #221F7E

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #221F7E; }

 p { color: rgb(34,31,126); }

 H1.HeaderClassName
 {
   color: #221F7E;
 }
 .AnyTagClassName
 {
   color: #221F7E;
 }
</style>

background-color css

<style>
 a { background-color: #221F7E; }

 a { background-color: rgb(34,31,126); }

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

border-color css

<style>
 span { border-color: #221F7E; }

 span { border-color: rgb(34,31,126); }

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