COLOR #221E38

HEX: #221E38 RGB: (34,30,56)

Color info

#221E38 contains red, green and blue colors in about the same proportion. Web safe color of #221E38 is #333333 (or #333).

RGB color model

#221E38 color RGB value is (34,30,56).

RGB: (34,30,56) (13%, 12%, 22%)

RGB channels and saturation

R 34 of 255 = 13%
G 30 of 255 = 12%
B 56 of 255 = 22%

34
30
56

R + G + B ~ 16%. #221E38 is dark color.

Portions of RGB colors in percentages

R + G + B = 34 + 30 + 56 = 120 (100%)
R 34 of 120 ~ 28.33%
G 30 of 120 ~ 25%
B 56 of 120 ~ 46.67'%

%28.33
%25
%46.67

CMYK color model

#221E38 color CMYK value is (39,46,0,78).

  • cyan value is 39.29%
  • magenta value is 46.43%
  • yellow value is 0.00%
  • key color value is 78.04%

CMYK: (39,46,0,78)
C39M46Y0K78 (39%, 46%, 0%, 78%)
(0.39 / 0.46 / 0.00 / 0.78)

CMYK percentages

%39.29
%46.43
%0
%78.04

Codes

Color #221E38 in popluar color models

22 1E 38
RGB 34 30 56
HSL 249° 30.23% 16.86%
HSB/HSV 249° 46.43% 21.96%
CMYK 39.29% 46.43% 0.00%
78.04%

Color #221E38 in popluar number systems.

HEX 22 1E 38
Decimal 34 30 56
Binary 100010 11110 111000
Octal 42 36 70

Shades and tints

Shades of #221E38

#221E38
(34,30,56)
#1F1C33
(31,28,51)
#1C1A2E
(28,26,46)
#191829
(25,24,41)
#161624
(22,22,36)
#13141F
(19,20,31)
#10121A
(16,18,26)
#0D1015
(13,16,21)
#0A0E10
(10,14,16)
#070C0B
(7,12,11)
#040A06
(4,10,6)
#000000
(0,0,0)

Tints of #221E38

#221E38
(34,30,56)
#36324A
(54,50,74)
#4A465C
(74,70,92)
#5E5A6E
(94,90,110)
#726E80
(114,110,128)
#868292
(134,130,146)
#9A96A4
(154,150,164)
#AEAAB6
(174,170,182)
#C2BEC8
(194,190,200)
#D6D2DA
(214,210,218)
#EAE6EC
(234,230,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #221E38 color. Also use rgb(34,30,56) instead hex code.

Text Font Color

.myTextColor { color: #221E38; }

<p style="color:#221E38">This sample text font color is #221E38.</p>

This text font color is #221E38.

Background Color

.myBgColor { background-color: #221E38; }

<div style="background-color:#221E38">Inner text</div>

This div background color is #221E38.

Border color

.myBorderColor { border: 1px solid #221E38; }

<div style="border:3px solid #221E38">Div</div>

This div border color is #221E38.

Opacity

.myOpacity80 { color: #221E38; opacity: 0.8; }

<p style="color:#221E38;opacity:0.8;">80%</p>

Text with #221E38 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #221E38;}

<p style="text-shadow: 3px 3px 1px #221E38">Text here.</p>

This text has shadow with #221E38 color.


.textShadow {text-shadow: 3px 3px 1px #221E38', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #221E38, 5px 5px 20px red">Text here.</p>

This text has shadow with #221E38 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#221E38, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#221E38, Direction=45, Strength=4)">Text</p>

This text has shadow with #221E38 and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #221E38;
-webkit-box-shadow: 1px 1px 3px 2px #221E38;
box-shadow: 1px 1px 3px 2px #221E38;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #221E38; -webkit-box-shadow: 1px 1px 3px 2px #221E38; box-shadow:1px 1px 3px 2px #221E38;">
Div content here
</div>

This div box has shadow with color #221E38.

Preview

Color preview on black background

This text has color #221E38 on black background.


Color preview on white background

This text has color #221E38 on white background.


Black color preview on #221E38 background

This text has black color on #221E38 background.


White color preview on #221E38 background

This text has white color on #221E38 background.


Related colors

Complementary color

Complementary color for #hex is #DDE1C7.


I love getcolorcode.com

Triadic colors

1 #38221E and #1E3822 with #221E38 are triadic colors.

2 #381E22 and #1E2238 with #221E38 are triadic colors.