COLOR #121221

HEX: #121221
RGB: (18,18,33)

Color info

#121221 contains red, green and blue colors in about the same proportion. Web safe color of #121221 is #000033 (or #003).

RGB color model

#121221 color RGB value is (18,18,33).

  • red value is 18;
  • green value is 18;
  • blue value is 33.
RGB:
(18,18,33)
(7%,7%,13%)

RGB channels and saturation

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

18
18
33

R + G + B ~ 9%. #121221 is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 18 + 33 = 69 (100%)
R 18 of 69 ~ 26.09%
G 18 of 69 ~ 26.09%
B 33 of 69 ~ 47.83%

%26.09
%26.09
%47.83

CMYK color model

#121221 color CMYK value is (45,45,0,87).

  • cyan value is 45.45%
  • magenta value is 45.45%
  • yellow value is 0.00%
  • key color value is 87.06%
CMYK:
(45,45,0,87)
C45M45Y0K87 
(45%,45%,0%,87%)
(0.45/0.45/0.00/0.87)	

CMYK percentages

%45.45
%45.45
%0
%87.06

Codes

Color #121221 in popluar color models

121221
RGB181833
HSL240°29.41%10.00%
HSB/HSV240°45.45%12.94%
CMYK45.45%45.45%0.00%
87.06%

Color #121221 in popluar number systems.

HEX121221
Decimal181833
Binary1001010010100001
Octal222241

Shades and tints

Shades of #121221

#121221
(18,18,33)
#11111E
(17,17,30)
#10101B
(16,16,27)
#0F0F18
(15,15,24)
#0E0E15
(14,14,21)
#0D0D12
(13,13,18)
#0C0C0F
(12,12,15)
#0B0B0C
(11,11,12)
#0A0A09
(10,10,9)
#090906
(9,9,6)
#080803
(8,8,3)
#000000
(0,0,0)

Tints of #121221

#121221
(18,18,33)
#272735
(39,39,53)
#3C3C49
(60,60,73)
#51515D
(81,81,93)
#666671
(102,102,113)
#7B7B85
(123,123,133)
#909099
(144,144,153)
#A5A5AD
(165,165,173)
#BABAC1
(186,186,193)
#CFCFD5
(207,207,213)
#E4E4E9
(228,228,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #121221; }

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

This text font color is #121221.


Background Color

.myBgColor { background-color: #121221; }

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

This div background color is #121221.


Border color

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

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

This div border color is #121221.


Opacity

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

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

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

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

This text has shadow with #121221 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #121221 on black background.


Color preview on white background

This text has color #121221 on white background.



Black color preview on #121221 background

This text has black color on #121221 background.


White color preview on #121221 background

This text has white color on #121221 background.