COLOR #A5172F

HEX: #A5172F
RGB: (165,23,47)

Color info

#A5172F contains mainly red color. Web safe color of #A5172F is #990033 (or #903).

RGB color model

#A5172F color RGB value is (165,23,47).

  • red value is 165;
  • green value is 23;
  • blue value is 47.
RGB:
(165,23,47)
(65%,9%,18%)

RGB channels and saturation

R 165 of 255 = 65%
G 23 of 255 = 9%
B 47 of 255 = 18%

165
23
47

R + G + B ~ 31%. #A5172F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
165 + 23 + 47 = 235 (100%)
R 165 of 235 ~ 70.21%
G 23 of 235 ~ 9.79%
B 47 of 235 ~ 20%

%70.21
%9.79
%20

CMYK color model

#A5172F color CMYK value is (0,86,72,35).

  • cyan value is 0.00%
  • magenta value is 86.06%
  • yellow value is 71.52%
  • key color value is 35.29%
CMYK:
(0,86,72,35)
C0M86Y72K35 
(0%,86%,72%,35%)
(0.00/0.86/0.72/0.35)	

CMYK percentages

%0
%86.06
%71.52
%35.29

Codes

Color #A5172F in popluar color models

A5172F
RGB1652347
HSL350°75.53%36.86%
HSB/HSV350°86.06%64.71%
CMYK0.00%86.06%71.52%
35.29%

Color #A5172F in popluar number systems.

HEXA5172F
Decimal1652347
Binary1010010110111101111
Octal2452757

Shades and tints

Shades of #A5172F

#A5172F
(165,23,47)
#96152B
(150,21,43)
#871327
(135,19,39)
#781123
(120,17,35)
#690F1F
(105,15,31)
#5A0D1B
(90,13,27)
#4B0B17
(75,11,23)
#3C0913
(60,9,19)
#2D070F
(45,7,15)
#1E050B
(30,5,11)
#0F0307
(15,3,7)
#000000
(0,0,0)

Tints of #A5172F

#A5172F
(165,23,47)
#AD2C41
(173,44,65)
#B54153
(181,65,83)
#BD5665
(189,86,101)
#C56B77
(197,107,119)
#CD8089
(205,128,137)
#D5959B
(213,149,155)
#DDAAAD
(221,170,173)
#E5BFBF
(229,191,191)
#EDD4D1
(237,212,209)
#F5E9E3
(245,233,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A5172F color. Also use rgb(165,23,47) instead hex code.

Text Font Color

.myTextColor { color: #A5172F; }

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

This text font color is #A5172F.


Background Color

.myBgColor { background-color: #A5172F; }

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

This div background color is #A5172F.


Border color

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

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

This div border color is #A5172F.


Opacity

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

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

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

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

This text has shadow with #A5172F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A5172F on black background.


Color preview on white background

This text has color #A5172F on white background.



Black color preview on #A5172F background

This text has black color on #A5172F background.


White color preview on #A5172F background

This text has white color on #A5172F background.