COLOR #331B78

HEX: #331B78 RGB: (51,27,120)

Color info

#331B78 contains mainly blue color. Web safe color of #331B78 is #333366 (or #336).

RGB color model

#331B78 color RGB value is (51,27,120).

RGB: (51,27,120) (20%, 11%, 47%)

RGB channels and saturation

R 51 of 255 = 20%
G 27 of 255 = 11%
B 120 of 255 = 47%

51
27
120

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

Portions of RGB colors in percentages

R + G + B = 51 + 27 + 120 = 198 (100%)
R 51 of 198 ~ 25.76%
G 27 of 198 ~ 13.64%
B 120 of 198 ~ 60.61'%

%25.76
%13.64
%60.61

CMYK color model

#331B78 color CMYK value is (58,78,0,53).

  • cyan value is 57.50%
  • magenta value is 77.50%
  • yellow value is 0.00%
  • key color value is 52.94%

CMYK: (58,78,0,53)
C58M78Y0K53 (58%, 78%, 0%, 53%)
(0.58 / 0.78 / 0.00 / 0.53)

CMYK percentages

%57.5
%77.5
%0
%52.94

Codes

Color #331B78 in popluar color models

33 1B 78
RGB 51 27 120
HSL 255° 63.27% 28.82%
HSB/HSV 255° 77.50% 47.06%
CMYK 57.50% 77.50% 0.00%
52.94%

Color #331B78 in popluar number systems.

HEX 33 1B 78
Decimal 51 27 120
Binary 110011 11011 1111000
Octal 63 33 170

Shades and tints

Shades of #331B78

#331B78
(51,27,120)
#2F196E
(47,25,110)
#2B1764
(43,23,100)
#27155A
(39,21,90)
#231350
(35,19,80)
#1F1146
(31,17,70)
#1B0F3C
(27,15,60)
#170D32
(23,13,50)
#130B28
(19,11,40)
#0F091E
(15,9,30)
#0B0714
(11,7,20)
#000000
(0,0,0)

Tints of #331B78

#331B78
(51,27,120)
#452F84
(69,47,132)
#574390
(87,67,144)
#69579C
(105,87,156)
#7B6BA8
(123,107,168)
#8D7FB4
(141,127,180)
#9F93C0
(159,147,192)
#B1A7CC
(177,167,204)
#C3BBD8
(195,187,216)
#D5CFE4
(213,207,228)
#E7E3F0
(231,227,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331B78 color. Also use rgb(51,27,120) instead hex code.

Text Font Color

.myTextColor { color: #331B78; }

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

This text font color is #331B78.

Background Color

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

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

This div background color is #331B78.

Border color

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

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

This div border color is #331B78.

Opacity

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

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

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

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

This text has shadow with #331B78 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #331B78.

Preview

Color preview on black background

This text has color #331B78 on black background.


Color preview on white background

This text has color #331B78 on white background.


Black color preview on #331B78 background

This text has black color on #331B78 background.


White color preview on #331B78 background

This text has white color on #331B78 background.


Related colors

Complementary color

Complementary color for #hex is #CCE487.


I love getcolorcode.com

Triadic colors

1 #78331B and #1B7833 with #331B78 are triadic colors.

2 #781B33 and #1B3378 with #331B78 are triadic colors.