COLOR #7951B1

HEX: #7951B1
RGB: (121,81,177)

Color info

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

RGB color model

#7951B1 color RGB value is (121,81,177).

  • red value is 121;
  • green value is 81;
  • blue value is 177.
RGB:
(121,81,177)
(47%,32%,69%)

RGB channels and saturation

R 121 of 255 = 47%
G 81 of 255 = 32%
B 177 of 255 = 69%

121
81
177

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

Portions of RGB colors in percentages

R + G + B =
121 + 81 + 177 = 379 (100%)
R 121 of 379 ~ 31.93%
G 81 of 379 ~ 21.37%
B 177 of 379 ~ 46.7%

%31.93
%21.37
%46.7

CMYK color model

#7951B1 color CMYK value is (32,54,0,31).

  • cyan value is 31.64%
  • magenta value is 54.24%
  • yellow value is 0.00%
  • key color value is 30.59%
CMYK:
(32,54,0,31)
C32M54Y0K31 
(32%,54%,0%,31%)
(0.32/0.54/0.00/0.31)	

CMYK percentages

%31.64
%54.24
%0
%30.59

Codes

Color #7951B1 in popluar color models

7951B1
RGB12181177
HSL265°38.10%50.59%
HSB/HSV265°54.24%69.41%
CMYK31.64%54.24%0.00%
30.59%

Color #7951B1 in popluar number systems.

HEX7951B1
Decimal12181177
Binary1111001101000110110001
Octal171121261

Shades and tints

Shades of #7951B1

#7951B1
(121,81,177)
#6E4AA1
(110,74,161)
#634391
(99,67,145)
#583C81
(88,60,129)
#4D3571
(77,53,113)
#422E61
(66,46,97)
#372751
(55,39,81)
#2C2041
(44,32,65)
#211931
(33,25,49)
#161221
(22,18,33)
#0B0B11
(11,11,17)
#000000
(0,0,0)

Tints of #7951B1

#7951B1
(121,81,177)
#8560B8
(133,96,184)
#916FBF
(145,111,191)
#9D7EC6
(157,126,198)
#A98DCD
(169,141,205)
#B59CD4
(181,156,212)
#C1ABDB
(193,171,219)
#CDBAE2
(205,186,226)
#D9C9E9
(217,201,233)
#E5D8F0
(229,216,240)
#F1E7F7
(241,231,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7951B1 color. Also use rgb(121,81,177) instead hex code.

Text Font Color

.myTextColor { color: #7951B1; }

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

This text font color is #7951B1.


Background Color

.myBgColor { background-color: #7951B1; }

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

This div background color is #7951B1.


Border color

.myBorderColor { border: 1px solid #7951B1; }

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

This div border color is #7951B1.


Opacity

.myOpacity80 { color: #7951B1; opacity: 0.8; }

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

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

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

This text has shadow with #7951B1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7951B1 on black background.


Color preview on white background

This text has color #7951B1 on white background.



Black color preview on #7951B1 background

This text has black color on #7951B1 background.


White color preview on #7951B1 background

This text has white color on #7951B1 background.