HEX: #A71B7C
RGB: (167,27,124)
#A71B7C contains mainly red and blue colors. Web safe color of #A71B7C is #993366 (or #936).
#A71B7C color RGB value is (167,27,124).
RGB: (167,27,124) (65%,11%,49%)
R 167 of 255 = 65%
G 27 of 255 = 11%
B 124 of 255 = 49%
R + G + B ~ 42%. #A71B7C is middle color (not dark and not light).
R + G + B =
167 + 27 + 124 = 318 (100%)
R 167 of 318 ~ 52.52%
G 27 of 318 ~ 8.49%
B 124 of 318 ~ 38.99%
#A71B7C color CMYK value is (0,84,26,35).
CMYK: (0,84,26,35) C0M84Y26K35 (0%,84%,26%,35%) (0.00/0.84/0.26/0.35)
A7 | 1B | 7C | |
---|---|---|---|
RGB | 167 | 27 | 124 |
HSL | 318° | 72.16% | 38.04% |
HSB/HSV | 318° | 83.83% | 65.49% |
CMYK | 0.00% | 83.83% | 25.75% |
34.51% |
HEX | A7 | 1B | 7C |
Decimal | 167 | 27 | 124 |
Binary | 10100111 | 11011 | 1111100 |
Octal | 247 | 33 | 174 |
Examples of css and html codes for elements with #A71B7C color. Also use rgb(167,27,124) instead hex code.
.myTextColor { color: #A71B7C; }
<p style="color:#A71B7C">This sample text font color is #A71B7C.</p>
This text font color is #A71B7C.
.myBgColor { background-color: #A71B7C; }
<div style="background-color:#A71B7C">Inner text</div>
This div background color is #A71B7C.
.myBorderColor { border: 1px solid #A71B7C; }
<div style="border:3px solid #A71B7C">Div</div>
This div border color is #A71B7C.
.myOpacity80 { color: #A71B7C; opacity: 0.8; }
<p style="color:#A71B7C;opacity:0.8;">80%</p>
Text with #A71B7C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A71B7C;}
<p style="text-shadow: 3px 3px 1px #A71B7C">Text here.</p>
This text has shadow with #A71B7C color.
.textShadow {text-shadow: 3px 3px 1px #A71B7C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A71B7C, 5px 5px 20px red">Text here.</p>
This text has shadow with #A71B7C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A71B7C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A71B7C, Direction=45, Strength=4)">Text</p>
This text has shadow with #A71B7C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A71B7C; -webkit-box-shadow: 1px 1px 3px 2px #A71B7C; box-shadow: 1px 1px 3px 2px #A71B7C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A71B7C; -webkit-box-shadow: 1px 1px 3px 2px #A71B7C; box-shadow:1px 1px 3px 2px #A71B7C;">
Div content here</div>
This text has color #A71B7C on black background.
This text has color #A71B7C on white background.
This text has black color on #A71B7C background.
This text has white color on #A71B7C background.