COLOR #121212

HEX: #121212
RGB: (18,18,18)

Color info

#121212 contains red, green and blue colors in about the same proportion. Web safe color of #121212 is #000000 (or #000).

RGB color model

#121212 color RGB value is (18,18,18).

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

RGB channels and saturation

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

18
18
18

R + G + B ~ 7%. #121212 is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 18 + 18 = 54 (100%)
R 18 of 54 ~ 33.33%
G 18 of 54 ~ 33.33%
B 18 of 54 ~ 33.33%

%33.33
%33.33
%33.33

CMYK color model

#121212 color CMYK value is (0,0,0,93).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 92.94%
CMYK:
(0,0,0,93)
C0M0Y0K93 
(0%,0%,0%,93%)
(0.00/0.00/0.00/0.93)	

CMYK percentages

%0
%0
%0
%92.94

Codes

Color #121212 in popluar color models

121212
RGB181818
HSL0.00%0.07%
HSB/HSV0.00%0.07%
CMYK0.00%0.00%0.00%
92.94%

Color #121212 in popluar number systems.

HEX121212
Decimal181818
Binary100101001010010
Octal222222

Shades and tints

Shades of #121212

#121212
(18,18,18)
#111111
(17,17,17)
#101010
(16,16,16)
#0F0F0F
(15,15,15)
#0E0E0E
(14,14,14)
#0D0D0D
(13,13,13)
#0C0C0C
(12,12,12)
#0B0B0B
(11,11,11)
#0A0A0A
(10,10,10)
#090909
(9,9,9)
#080808
(8,8,8)
#000000
(0,0,0)

Tints of #121212

#121212
(18,18,18)
#272727
(39,39,39)
#3C3C3C
(60,60,60)
#515151
(81,81,81)
#666666
(102,102,102)
#7B7B7B
(123,123,123)
#909090
(144,144,144)
#A5A5A5
(165,165,165)
#BABABA
(186,186,186)
#CFCFCF
(207,207,207)
#E4E4E4
(228,228,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #121212; }

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

This text font color is #121212.


Background Color

.myBgColor { background-color: #121212; }

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

This div background color is #121212.


Border color

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

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

This div border color is #121212.


Opacity

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

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

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

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

This text has shadow with #121212 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #121212 on black background.


Color preview on white background

This text has color #121212 on white background.



Black color preview on #121212 background

This text has black color on #121212 background.


White color preview on #121212 background

This text has white color on #121212 background.