COLOR #331C64

HEX: #331C64
RGB: (51,28,100)

Color info

#331C64 contains mainly red and blue colors. Web safe color of #331C64 is #333366 (or #336).

RGB color model

#331C64 color RGB value is (51,28,100).

  • red value is 51;
  • green value is 28;
  • blue value is 100.
RGB:
(51,28,100)
(20%,11%,39%)

RGB channels and saturation

R 51 of 255 = 20%
G 28 of 255 = 11%
B 100 of 255 = 39%

51
28
100

R + G + B ~ 23%. #331C64 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 28 + 100 = 179 (100%)
R 51 of 179 ~ 28.49%
G 28 of 179 ~ 15.64%
B 100 of 179 ~ 55.87%

%28.49
%15.64
%55.87

CMYK color model

#331C64 color CMYK value is (49,72,0,61).

  • cyan value is 49.00%
  • magenta value is 72.00%
  • yellow value is 0.00%
  • key color value is 60.78%
CMYK:
(49,72,0,61)
C49M72Y0K61 
(49%,72%,0%,61%)
(0.49/0.72/0.00/0.61)	

CMYK percentages

%49
%72
%0
%60.78

Codes

Color #331C64 in popluar color models

331C64
RGB5128100
HSL259°56.25%25.10%
HSB/HSV259°72.00%39.22%
CMYK49.00%72.00%0.00%
60.78%

Color #331C64 in popluar number systems.

HEX331C64
Decimal5128100
Binary110011111001100100
Octal6334144

Shades and tints

Shades of #331C64

#331C64
(51,28,100)
#2F1A5B
(47,26,91)
#2B1852
(43,24,82)
#271649
(39,22,73)
#231440
(35,20,64)
#1F1237
(31,18,55)
#1B102E
(27,16,46)
#170E25
(23,14,37)
#130C1C
(19,12,28)
#0F0A13
(15,10,19)
#0B080A
(11,8,10)
#000000
(0,0,0)

Tints of #331C64

#331C64
(51,28,100)
#453072
(69,48,114)
#574480
(87,68,128)
#69588E
(105,88,142)
#7B6C9C
(123,108,156)
#8D80AA
(141,128,170)
#9F94B8
(159,148,184)
#B1A8C6
(177,168,198)
#C3BCD4
(195,188,212)
#D5D0E2
(213,208,226)
#E7E4F0
(231,228,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331C64 color. Also use rgb(51,28,100) instead hex code.

Text Font Color

.myTextColor { color: #331C64; }

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

This text font color is #331C64.


Background Color

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

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

This div background color is #331C64.


Border color

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

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

This div border color is #331C64.


Opacity

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

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

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

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

This text has shadow with #331C64 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331C64 on black background.


Color preview on white background

This text has color #331C64 on white background.



Black color preview on #331C64 background

This text has black color on #331C64 background.


White color preview on #331C64 background

This text has white color on #331C64 background.