COLOR #D9170E

HEX: #D9170E
RGB: (217,23,14)

Color info

#D9170E contains mainly red color. Web safe color of #D9170E is #CC0000 (or #C00).

RGB color model

#D9170E color RGB value is (217,23,14).

  • red value is 217;
  • green value is 23;
  • blue value is 14.
RGB:
(217,23,14)
(85%,9%,5%)

RGB channels and saturation

R 217 of 255 = 85%
G 23 of 255 = 9%
B 14 of 255 = 5%

217
23
14

R + G + B ~ 33%. #D9170E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
217 + 23 + 14 = 254 (100%)
R 217 of 254 ~ 85.43%
G 23 of 254 ~ 9.06%
B 14 of 254 ~ 5.51%

%85.43

CMYK color model

#D9170E color CMYK value is (0,89,94,15).

  • cyan value is 0.00%
  • magenta value is 89.40%
  • yellow value is 93.55%
  • key color value is 14.90%
CMYK:
(0,89,94,15)
C0M89Y94K15 
(0%,89%,94%,15%)
(0.00/0.89/0.94/0.15)	

CMYK percentages

%0
%89.4
%93.55
%14.9

Codes

Color #D9170E in popluar color models

D9170E
RGB2172314
HSL87.88%45.29%
HSB/HSV93.55%85.10%
CMYK0.00%89.40%93.55%
14.90%

Color #D9170E in popluar number systems.

HEXD9170E
Decimal2172314
Binary11011001101111110
Octal3312716

Shades and tints

Shades of #D9170E

#D9170E
(217,23,14)
#C6150D
(198,21,13)
#B3130C
(179,19,12)
#A0110B
(160,17,11)
#8D0F0A
(141,15,10)
#7A0D09
(122,13,9)
#670B08
(103,11,8)
#540907
(84,9,7)
#410706
(65,7,6)
#2E0505
(46,5,5)
#1B0304
(27,3,4)
#000000
(0,0,0)

Tints of #D9170E

#D9170E
(217,23,14)
#DC2C23
(220,44,35)
#DF4138
(223,65,56)
#E2564D
(226,86,77)
#E56B62
(229,107,98)
#E88077
(232,128,119)
#EB958C
(235,149,140)
#EEAAA1
(238,170,161)
#F1BFB6
(241,191,182)
#F4D4CB
(244,212,203)
#F7E9E0
(247,233,224)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D9170E color. Also use rgb(217,23,14) instead hex code.

Text Font Color

.myTextColor { color: #D9170E; }

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

This text font color is #D9170E.


Background Color

.myBgColor { background-color: #D9170E; }

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

This div background color is #D9170E.


Border color

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

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

This div border color is #D9170E.


Opacity

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

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

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

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

This text has shadow with #D9170E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D9170E on black background.


Color preview on white background

This text has color #D9170E on white background.



Black color preview on #D9170E background

This text has black color on #D9170E background.


White color preview on #D9170E background

This text has white color on #D9170E background.