HEX: #520480
RGB: (82,4,128)
#520480 contains mainly red and blue colors. #520480 ‘ nin web güvenlik rengi #660066 (ya da #606) dir.
#520480 color RGB value is (82,4,128).
RGB: (82,4,128) (32%,2%,50%)
R 82 of 255 = 32%
G 4 of 255 = 2%
B 128 of 255 = 50%
R + G + B ~ 28%. #520480 is quite dark color.
R + G + B =
82 + 4 + 128 = 214 (100%)
R 82 of 214 ~ 38.32%
G 4 of 214 ~ 1.87%
B 128 of 214 ~ 59.81%
#520480 rengi CMYK tonu (36,97,0,50).
CMYK: (36,97,0,50) C36M97Y0K50 (36%,97%,0%,50%) (0.36/0.97/0.00/0.50)
52 | 04 | 80 | |
---|---|---|---|
RGB | 82 | 4 | 128 |
HSL | 278° | 93.94% | 25.88% |
HSB/HSV | 278° | 96.88% | 50.20% |
CMYK | 35.94% | 96.88% | 0.00% |
49.80% |
HEX | 52 | 04 | 80 |
Decimal | 82 | 4 | 128 |
Binary | 1010010 | 100 | 10000000 |
Octal | 122 | 4 | 200 |
Examples of css and html codes for elements with #520480 color. Also use rgb(82,4,128) instead hex code.
.myTextColor { color: #520480; }
<p style="color:#520480">This sample text font color is #520480.</p>
This text font color is #520480.
.myBgColor { background-color: #520480; }
<div style="background-color:#520480">Inner text</div>
This div background color is #520480.
.myBorderColor { border: 1px solid #520480; }
<div style="border:3px solid #520480">Div</div>
This div border color is #520480.
.myOpacity80 { color: #520480; opacity: 0.8; }
<p style="color:#520480;opacity:0.8;">80%</p>
Text with #520480 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #520480;}
<p style="text-shadow: 3px 3px 1px #520480">Text here.</p>
This text has shadow with #520480 color.
.textShadow {text-shadow: 3px 3px 1px #520480, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #520480, 5px 5px 20px red">Text here.</p>
This text has shadow with #520480 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520480, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#520480, Direction=45, Strength=4)">Text</p>
This text has shadow with #520480 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #520480; -webkit-box-shadow: 1px 1px 3px 2px #520480; box-shadow: 1px 1px 3px 2px #520480; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #520480; -webkit-box-shadow: 1px 1px 3px 2px #520480; box-shadow:1px 1px 3px 2px #520480;">
Div content here</div>
This text has color #520480 on black background.
This text has color #520480 on white background.
This text has black color on #520480 background.
This text has white color on #520480 background.