COLOR #331E8C

HEX: #331E8C RGB: (51,30,140)

Color info

#331E8C contains mainly blue color. Web safe color of #331E8C is #333399 (or #339).

RGB color model

#331E8C color RGB value is (51,30,140).

RGB: (51,30,140) (20%, 12%, 55%)

RGB channels and saturation

R 51 of 255 = 20%
G 30 of 255 = 12%
B 140 of 255 = 55%

51
30
140

R + G + B ~ 29%. #331E8C is quite dark color.

Portions of RGB colors in percentages

R + G + B = 51 + 30 + 140 = 221 (100%)
R 51 of 221 ~ 23.08%
G 30 of 221 ~ 13.57%
B 140 of 221 ~ 63.35'%

%23.08
%13.57
%63.35

CMYK color model

#331E8C color CMYK value is (64,79,0,45).

  • cyan value is 63.57%
  • magenta value is 78.57%
  • yellow value is 0.00%
  • key color value is 45.10%

CMYK: (64,79,0,45)
C64M79Y0K45 (64%, 79%, 0%, 45%)
(0.64 / 0.79 / 0.00 / 0.45)

CMYK percentages

%63.57
%78.57
%0
%45.1

Codes

Color #331E8C in popluar color models

33 1E 8C
RGB 51 30 140
HSL 251° 64.71% 33.33%
HSB/HSV 251° 78.57% 54.90%
CMYK 63.57% 78.57% 0.00%
45.10%

Color #331E8C in popluar number systems.

HEX 33 1E 8C
Decimal 51 30 140
Binary 110011 11110 10001100
Octal 63 36 214

Shades and tints

Shades of #331E8C

#331E8C
(51,30,140)
#2F1C80
(47,28,128)
#2B1A74
(43,26,116)
#271868
(39,24,104)
#23165C
(35,22,92)
#1F1450
(31,20,80)
#1B1244
(27,18,68)
#171038
(23,16,56)
#130E2C
(19,14,44)
#0F0C20
(15,12,32)
#0B0A14
(11,10,20)
#000000
(0,0,0)

Tints of #331E8C

#331E8C
(51,30,140)
#453296
(69,50,150)
#5746A0
(87,70,160)
#695AAA
(105,90,170)
#7B6EB4
(123,110,180)
#8D82BE
(141,130,190)
#9F96C8
(159,150,200)
#B1AAD2
(177,170,210)
#C3BEDC
(195,190,220)
#D5D2E6
(213,210,230)
#E7E6F0
(231,230,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331E8C color. Also use rgb(51,30,140) instead hex code.

Text Font Color

.myTextColor { color: #331E8C; }

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

This text font color is #331E8C.

Background Color

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

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

This div background color is #331E8C.

Border color

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

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

This div border color is #331E8C.

Opacity

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

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

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

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

This text has shadow with #331E8C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #331E8C.

Preview

Color preview on black background

This text has color #331E8C on black background.


Color preview on white background

This text has color #331E8C on white background.


Black color preview on #331E8C background

This text has black color on #331E8C background.


White color preview on #331E8C background

This text has white color on #331E8C background.


Related colors

Complementary color

Complementary color for #hex is #CCE173.


I love getcolorcode.com

Triadic colors

1 #8C331E and #1E8C33 with #331E8C are triadic colors.

2 #8C1E33 and #1E338C with #331E8C are triadic colors.