COLOR #15040F

HEX: #15040F
RGB: (21,4,15)

Color info

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

RGB color model

#15040F color RGB value is (21,4,15).

  • red value is 21;
  • green value is 4;
  • blue value is 15.
RGB:
(21,4,15)
(8%,2%,6%)

RGB channels and saturation

R 21 of 255 = 8%
G 4 of 255 = 2%
B 15 of 255 = 6%

21
4
15

R + G + B ~ 5%. #15040F is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 4 + 15 = 40 (100%)
R 21 of 40 ~ 52.5%
G 4 of 40 ~ 10%
B 15 of 40 ~ 37.5%

%52.5
%10
%37.5

CMYK color model

#15040F color CMYK value is (0,81,29,92).

  • cyan value is 0.00%
  • magenta value is 80.95%
  • yellow value is 28.57%
  • key color value is 91.76%
CMYK:
(0,81,29,92)
C0M81Y29K92 
(0%,81%,29%,92%)
(0.00/0.81/0.29/0.92)	

CMYK percentages

%0
%80.95
%28.57
%91.76

Codes

Color #15040F in popluar color models

15040F
RGB21415
HSL321°68.00%4.90%
HSB/HSV321°80.95%8.24%
CMYK0.00%80.95%28.57%
91.76%

Color #15040F in popluar number systems.

HEX15040F
Decimal21415
Binary101011001111
Octal25417

Shades and tints

Shades of #15040F

#15040F
(21,4,15)
#14040E
(20,4,14)
#13040D
(19,4,13)
#12040C
(18,4,12)
#11040B
(17,4,11)
#10040A
(16,4,10)
#0F0409
(15,4,9)
#0E0408
(14,4,8)
#0D0407
(13,4,7)
#0C0406
(12,4,6)
#0B0405
(11,4,5)
#000000
(0,0,0)

Tints of #15040F

#15040F
(21,4,15)
#2A1A24
(42,26,36)
#3F3039
(63,48,57)
#54464E
(84,70,78)
#695C63
(105,92,99)
#7E7278
(126,114,120)
#93888D
(147,136,141)
#A89EA2
(168,158,162)
#BDB4B7
(189,180,183)
#D2CACC
(210,202,204)
#E7E0E1
(231,224,225)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #15040F color. Also use rgb(21,4,15) instead hex code.

Text Font Color

.myTextColor { color: #15040F; }

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

This text font color is #15040F.


Background Color

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

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

This div background color is #15040F.


Border color

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

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

This div border color is #15040F.


Opacity

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

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

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

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

This text has shadow with #15040F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #15040F on black background.


Color preview on white background

This text has color #15040F on white background.



Black color preview on #15040F background

This text has black color on #15040F background.


White color preview on #15040F background

This text has white color on #15040F background.