COLOR #122821

HEX: #122821 RGB: (18,40,33)

Color info

#122821 contains red, green and blue colors in about the same proportion. Web safe color of #122821 is #003333 (or #033).

RGB color model

#122821 color RGB value is (18,40,33).

RGB: (18,40,33) (7%, 16%, 13%)

RGB channels and saturation

R 18 of 255 = 7%
G 40 of 255 = 16%
B 33 of 255 = 13%

18
40
33

R + G + B ~ 12%. #122821 is dark color.

Portions of RGB colors in percentages

R + G + B = 18 + 40 + 33 = 91 (100%)
R 18 of 91 ~ 19.78%
G 40 of 91 ~ 43.96%
B 33 of 91 ~ 36.26'%

%19.78
%43.96
%36.26

CMYK color model

#122821 color CMYK value is (55,0,18,84).

  • cyan value is 55.00%
  • magenta value is 0.00%
  • yellow value is 17.50%
  • key color value is 84.31%

CMYK: (55,0,18,84)
C55M0Y18K84 (55%, 0%, 18%, 84%)
(0.55 / 0.00 / 0.18 / 0.84)

CMYK percentages

%55
%0
%17.5
%84.31

Codes

Color #122821 in popluar color models

12 28 21
RGB 18 40 33
HSL 161° 37.93% 11.37%
HSB/HSV 161° 55.00% 15.69%
CMYK 55.00% 0.00% 17.50%
84.31%

Color #122821 in popluar number systems.

HEX 12 28 21
Decimal 18 40 33
Binary 10010 101000 100001
Octal 22 50 41

Shades and tints

Shades of #122821

#122821
(18,40,33)
#11251E
(17,37,30)
#10221B
(16,34,27)
#0F1F18
(15,31,24)
#0E1C15
(14,28,21)
#0D1912
(13,25,18)
#0C160F
(12,22,15)
#0B130C
(11,19,12)
#0A1009
(10,16,9)
#090D06
(9,13,6)
#080A03
(8,10,3)
#000000
(0,0,0)

Tints of #122821

#122821
(18,40,33)
#273B35
(39,59,53)
#3C4E49
(60,78,73)
#51615D
(81,97,93)
#667471
(102,116,113)
#7B8785
(123,135,133)
#909A99
(144,154,153)
#A5ADAD
(165,173,173)
#BAC0C1
(186,192,193)
#CFD3D5
(207,211,213)
#E4E6E9
(228,230,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #122821 color. Also use rgb(18,40,33) instead hex code.

Text Font Color

.myTextColor { color: #122821; }

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

This text font color is #122821.

Background Color

.myBgColor { background-color: #122821; }

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

This div background color is #122821.

Border color

.myBorderColor { border: 1px solid #122821; }

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

This div border color is #122821.

Opacity

.myOpacity80 { color: #122821; opacity: 0.8; }

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

Text with #122821 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 #122821;}

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

This text has shadow with #122821 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #122821.

Preview

Color preview on black background

This text has color #122821 on black background.


Color preview on white background

This text has color #122821 on white background.


Black color preview on #122821 background

This text has black color on #122821 background.


White color preview on #122821 background

This text has white color on #122821 background.


Related colors

Complementary color

Complementary color for #hex is #EDD7DE.


I love getcolorcode.com

Triadic colors

1 #211228 and #282112 with #122821 are triadic colors.

2 #212812 and #281221 with #122821 are triadic colors.