COLOR #122212

HEX: #122212
RGB: (18,34,18)

Color info

#122212 contains red, green and blue colors in about the same proportion. Web safe color of #122212 is #003300 (or #030).

RGB color model

#122212 color RGB value is (18,34,18).

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

RGB channels and saturation

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

18
34
18

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

Portions of RGB colors in percentages

R + G + B =
18 + 34 + 18 = 70 (100%)
R 18 of 70 ~ 25.71%
G 34 of 70 ~ 48.57%
B 18 of 70 ~ 25.71%

%25.71
%48.57
%25.71

CMYK color model

#122212 color CMYK value is (47,0,47,87).

  • cyan value is 47.06%
  • magenta value is 0.00%
  • yellow value is 47.06%
  • key color value is 86.67%
CMYK:
(47,0,47,87)
C47M0Y47K87 
(47%,0%,47%,87%)
(0.47/0.00/0.47/0.87)	

CMYK percentages

%47.06
%0
%47.06
%86.67

Codes

Color #122212 in popluar color models

122212
RGB183418
HSL120°30.77%10.20%
HSB/HSV120°47.06%13.33%
CMYK47.06%0.00%47.06%
86.67%

Color #122212 in popluar number systems.

HEX122212
Decimal183418
Binary1001010001010010
Octal224222

Shades and tints

Shades of #122212

#122212
(18,34,18)
#111F11
(17,31,17)
#101C10
(16,28,16)
#0F190F
(15,25,15)
#0E160E
(14,22,14)
#0D130D
(13,19,13)
#0C100C
(12,16,12)
#0B0D0B
(11,13,11)
#0A0A0A
(10,10,10)
#090709
(9,7,9)
#080408
(8,4,8)
#000000
(0,0,0)

Tints of #122212

#122212
(18,34,18)
#273627
(39,54,39)
#3C4A3C
(60,74,60)
#515E51
(81,94,81)
#667266
(102,114,102)
#7B867B
(123,134,123)
#909A90
(144,154,144)
#A5AEA5
(165,174,165)
#BAC2BA
(186,194,186)
#CFD6CF
(207,214,207)
#E4EAE4
(228,234,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #122212; }

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

This text font color is #122212.


Background Color

.myBgColor { background-color: #122212; }

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

This div background color is #122212.


Border color

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

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

This div border color is #122212.


Opacity

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

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

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

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

This text has shadow with #122212 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #122212 on black background.


Color preview on white background

This text has color #122212 on white background.



Black color preview on #122212 background

This text has black color on #122212 background.


White color preview on #122212 background

This text has white color on #122212 background.