COLOR #15231F

HEX: #15231F
RGB: (21,35,31)

Color info

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

RGB color model

#15231F color RGB value is (21,35,31).

  • red value is 21;
  • green value is 35;
  • blue value is 31.
RGB:
(21,35,31)
(8%,14%,12%)

RGB channels and saturation

R 21 of 255 = 8%
G 35 of 255 = 14%
B 31 of 255 = 12%

21
35
31

R + G + B ~ 11%. #15231F is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 35 + 31 = 87 (100%)
R 21 of 87 ~ 24.14%
G 35 of 87 ~ 40.23%
B 31 of 87 ~ 35.63%

%24.14
%40.23
%35.63

CMYK color model

#15231F color CMYK value is (40,0,11,86).

  • cyan value is 40.00%
  • magenta value is 0.00%
  • yellow value is 11.43%
  • key color value is 86.27%
CMYK:
(40,0,11,86)
C40M0Y11K86 
(40%,0%,11%,86%)
(0.40/0.00/0.11/0.86)	

CMYK percentages

%40
%0
%11.43
%86.27

Codes

Color #15231F in popluar color models

15231F
RGB213531
HSL163°25.00%10.98%
HSB/HSV163°40.00%13.73%
CMYK40.00%0.00%11.43%
86.27%

Color #15231F in popluar number systems.

HEX15231F
Decimal213531
Binary1010110001111111
Octal254337

Shades and tints

Shades of #15231F

#15231F
(21,35,31)
#14201D
(20,32,29)
#131D1B
(19,29,27)
#121A19
(18,26,25)
#111717
(17,23,23)
#101415
(16,20,21)
#0F1113
(15,17,19)
#0E0E11
(14,14,17)
#0D0B0F
(13,11,15)
#0C080D
(12,8,13)
#0B050B
(11,5,11)
#000000
(0,0,0)

Tints of #15231F

#15231F
(21,35,31)
#2A3733
(42,55,51)
#3F4B47
(63,75,71)
#545F5B
(84,95,91)
#69736F
(105,115,111)
#7E8783
(126,135,131)
#939B97
(147,155,151)
#A8AFAB
(168,175,171)
#BDC3BF
(189,195,191)
#D2D7D3
(210,215,211)
#E7EBE7
(231,235,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #15231F color. Also use rgb(21,35,31) instead hex code.

Text Font Color

.myTextColor { color: #15231F; }

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

This text font color is #15231F.


Background Color

.myBgColor { background-color: #15231F; }

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

This div background color is #15231F.


Border color

.myBorderColor { border: 1px solid #15231F; }

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

This div border color is #15231F.


Opacity

.myOpacity80 { color: #15231F; opacity: 0.8; }

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

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

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

This text has shadow with #15231F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #15231F on black background.


Color preview on white background

This text has color #15231F on white background.



Black color preview on #15231F background

This text has black color on #15231F background.


White color preview on #15231F background

This text has white color on #15231F background.