COLOR #331A77

HEX: #331A77
RGB: (51,26,119)

Color info

#331A77 contains mainly blue color. Web safe color of #331A77 is #330066 (or #306).

RGB color model

#331A77 color RGB value is (51,26,119).

  • red value is 51;
  • green value is 26;
  • blue value is 119.
RGB:
(51,26,119)
(20%,10%,47%)

RGB channels and saturation

R 51 of 255 = 20%
G 26 of 255 = 10%
B 119 of 255 = 47%

51
26
119

R + G + B ~ 26%. #331A77 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 26 + 119 = 196 (100%)
R 51 of 196 ~ 26.02%
G 26 of 196 ~ 13.27%
B 119 of 196 ~ 60.71%

%26.02
%13.27
%60.71

CMYK color model

#331A77 color CMYK value is (57,78,0,53).

  • cyan value is 57.14%
  • magenta value is 78.15%
  • yellow value is 0.00%
  • key color value is 53.33%
CMYK:
(57,78,0,53)
C57M78Y0K53 
(57%,78%,0%,53%)
(0.57/0.78/0.00/0.53)	

CMYK percentages

%57.14
%78.15
%0
%53.33

Codes

Color #331A77 in popluar color models

331A77
RGB5126119
HSL256°64.14%28.43%
HSB/HSV256°78.15%46.67%
CMYK57.14%78.15%0.00%
53.33%

Color #331A77 in popluar number systems.

HEX331A77
Decimal5126119
Binary110011110101110111
Octal6332167

Shades and tints

Shades of #331A77

#331A77
(51,26,119)
#2F186D
(47,24,109)
#2B1663
(43,22,99)
#271459
(39,20,89)
#23124F
(35,18,79)
#1F1045
(31,16,69)
#1B0E3B
(27,14,59)
#170C31
(23,12,49)
#130A27
(19,10,39)
#0F081D
(15,8,29)
#0B0613
(11,6,19)
#000000
(0,0,0)

Tints of #331A77

#331A77
(51,26,119)
#452E83
(69,46,131)
#57428F
(87,66,143)
#69569B
(105,86,155)
#7B6AA7
(123,106,167)
#8D7EB3
(141,126,179)
#9F92BF
(159,146,191)
#B1A6CB
(177,166,203)
#C3BAD7
(195,186,215)
#D5CEE3
(213,206,227)
#E7E2EF
(231,226,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331A77 color. Also use rgb(51,26,119) instead hex code.

Text Font Color

.myTextColor { color: #331A77; }

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

This text font color is #331A77.


Background Color

.myBgColor { background-color: #331A77; }

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

This div background color is #331A77.


Border color

.myBorderColor { border: 1px solid #331A77; }

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

This div border color is #331A77.


Opacity

.myOpacity80 { color: #331A77; opacity: 0.8; }

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

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

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

This text has shadow with #331A77 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331A77 on black background.


Color preview on white background

This text has color #331A77 on white background.



Black color preview on #331A77 background

This text has black color on #331A77 background.


White color preview on #331A77 background

This text has white color on #331A77 background.