COLOR #7851AF

HEX: #7851AF RGB: (120,81,175)

Color info

#7851AF contains mainly red and blue colors. Web safe color of #7851AF is #666699 (or #669).

RGB color model

#7851AF color RGB value is (120,81,175).

RGB: (120,81,175) (47%, 32%, 69%)

RGB channels and saturation

R 120 of 255 = 47%
G 81 of 255 = 32%
B 175 of 255 = 69%

120
81
175

R + G + B ~ 49%. #7851AF is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 120 + 81 + 175 = 376 (100%)
R 120 of 376 ~ 31.91%
G 81 of 376 ~ 21.54%
B 175 of 376 ~ 46.54'%

%31.91
%21.54
%46.54

CMYK color model

#7851AF color CMYK value is (31,54,0,31).

  • cyan value is 31.43%
  • magenta value is 53.71%
  • yellow value is 0.00%
  • key color value is 31.37%

CMYK: (31,54,0,31)
C31M54Y0K31 (31%, 54%, 0%, 31%)
(0.31 / 0.54 / 0.00 / 0.31)

CMYK percentages

%31.43
%53.71
%0
%31.37

Codes

Color #7851AF in popluar color models

78 51 AF
RGB 120 81 175
HSL 265° 37.01% 50.20%
HSB/HSV 265° 53.71% 68.63%
CMYK 31.43% 53.71% 0.00%
31.37%

Color #7851AF in popluar number systems.

HEX 78 51 AF
Decimal 120 81 175
Binary 1111000 1010001 10101111
Octal 170 121 257

Shades and tints

Shades of #7851AF

#7851AF
(120,81,175)
#6E4AA0
(110,74,160)
#644391
(100,67,145)
#5A3C82
(90,60,130)
#503573
(80,53,115)
#462E64
(70,46,100)
#3C2755
(60,39,85)
#322046
(50,32,70)
#281937
(40,25,55)
#1E1228
(30,18,40)
#140B19
(20,11,25)
#000000
(0,0,0)

Tints of #7851AF

#7851AF
(120,81,175)
#8460B6
(132,96,182)
#906FBD
(144,111,189)
#9C7EC4
(156,126,196)
#A88DCB
(168,141,203)
#B49CD2
(180,156,210)
#C0ABD9
(192,171,217)
#CCBAE0
(204,186,224)
#D8C9E7
(216,201,231)
#E4D8EE
(228,216,238)
#F0E7F5
(240,231,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7851AF color. Also use rgb(120,81,175) instead hex code.

Text Font Color

.myTextColor { color: #7851AF; }

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

This text font color is #7851AF.

Background Color

.myBgColor { background-color: #7851AF; }

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

This div background color is #7851AF.

Border color

.myBorderColor { border: 1px solid #7851AF; }

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

This div border color is #7851AF.

Opacity

.myOpacity80 { color: #7851AF; opacity: 0.8; }

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

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

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

This text has shadow with #7851AF color.


.textShadow {text-shadow: 3px 3px 1px #7851AF', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #7851AF; -webkit-box-shadow: 1px 1px 3px 2px #7851AF; box-shadow:1px 1px 3px 2px #7851AF;">
Div content here
</div>

This div box has shadow with color #7851AF.

Preview

Color preview on black background

This text has color #7851AF on black background.


Color preview on white background

This text has color #7851AF on white background.


Black color preview on #7851AF background

This text has black color on #7851AF background.


White color preview on #7851AF background

This text has white color on #7851AF background.


Related colors

Complementary color

Complementary color for #hex is #87AE50.


I love getcolorcode.com

Triadic colors

1 #AF7851 and #51AF78 with #7851AF are triadic colors.

2 #AF5178 and #5178AF with #7851AF are triadic colors.