COLOR #151D12

HEX: #151D12 RGB: (21,29,18)

Color info

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

RGB color model

#151D12 color RGB value is (21,29,18).

RGB: (21,29,18) (8%, 11%, 7%)

RGB channels and saturation

R 21 of 255 = 8%
G 29 of 255 = 11%
B 18 of 255 = 7%

21
29
18

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

Portions of RGB colors in percentages

R + G + B = 21 + 29 + 18 = 68 (100%)
R 21 of 68 ~ 30.88%
G 29 of 68 ~ 42.65%
B 18 of 68 ~ 26.47'%

%30.88
%42.65
%26.47

CMYK color model

#151D12 color CMYK value is (28,0,38,89).

  • cyan value is 27.59%
  • magenta value is 0.00%
  • yellow value is 37.93%
  • key color value is 88.63%
CMYK: (28,0,38,89) C28M0Y38K89 (28%,0%,38%,89%) (0.28/0.00/0.38/0.89) 

CMYK percentages

%27.59
%0
%37.93
%88.63

Codes

Color #151D12 in popluar color models

15 1D 12
RGB 21 29 18
HSL 104° 23.40% 9.22%
HSB/HSV 104° 37.93% 11.37%
CMYK 27.59% 0.00% 37.93%
88.63%

Color #151D12 in popluar number systems.

HEX 15 1D 12
Decimal 21 29 18
Binary 10101 11101 10010
Octal 25 35 22

Shades and tints

Shades of #151D12

#151D12
(21,29,18)
#141B11
(20,27,17)
#131910
(19,25,16)
#12170F
(18,23,15)
#11150E
(17,21,14)
#10130D
(16,19,13)
#0F110C
(15,17,12)
#0E0F0B
(14,15,11)
#0D0D0A
(13,13,10)
#0C0B09
(12,11,9)
#0B0908
(11,9,8)
#000000
(0,0,0)

Tints of #151D12

#151D12
(21,29,18)
#2A3127
(42,49,39)
#3F453C
(63,69,60)
#545951
(84,89,81)
#696D66
(105,109,102)
#7E817B
(126,129,123)
#939590
(147,149,144)
#A8A9A5
(168,169,165)
#BDBDBA
(189,189,186)
#D2D1CF
(210,209,207)
#E7E5E4
(231,229,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #151D12; }

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

This text font color is #151D12.

Background Color

.myBgColor { background-color: #151D12; }

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

This div background color is #151D12.

Border color

.myBorderColor { border: 1px solid #151D12; }

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

This div border color is #151D12.

Opacity

.myOpacity80 { color: #151D12; opacity: 0.8; }

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

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

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

This text has shadow with #151D12 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #151D12.

Preview

Color preview on black background

This text has color #151D12 on black background.


Color preview on white background

This text has color #151D12 on white background.


Black color preview on #151D12 background

This text has black color on #151D12 background.


White color preview on #151D12 background

This text has white color on #151D12 background.


Related colors

Complementary color

Complementary color for #hex is #EAE2ED.


I love getcolorcode.com

Triadic colors

1 #12151D and #1D1215 with #151D12 are triadic colors.

2 #121D15 and #1D1512 with #151D12 are triadic colors.