COLOR #331D6C

HEX: #331D6C RGB: (51,29,108)

Color info

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

RGB color model

#331D6C color RGB value is (51,29,108).

RGB: (51,29,108) (20%, 11%, 42%)

RGB channels and saturation

R 51 of 255 = 20%
G 29 of 255 = 11%
B 108 of 255 = 42%

51
29
108

R + G + B ~ 24%. #331D6C is dark color.

Portions of RGB colors in percentages

R + G + B = 51 + 29 + 108 = 188 (100%)
R 51 of 188 ~ 27.13%
G 29 of 188 ~ 15.43%
B 108 of 188 ~ 57.45'%

%27.13
%15.43
%57.45

CMYK color model

#331D6C color CMYK value is (53,73,0,58).

  • cyan value is 52.78%
  • magenta value is 73.15%
  • yellow value is 0.00%
  • key color value is 57.65%

CMYK: (53,73,0,58)
C53M73Y0K58 (53%, 73%, 0%, 58%)
(0.53 / 0.73 / 0.00 / 0.58)

CMYK percentages

%52.78
%73.15
%0
%57.65

Codes

Color #331D6C in popluar color models

33 1D 6C
RGB 51 29 108
HSL 257° 57.66% 26.86%
HSB/HSV 257° 73.15% 42.35%
CMYK 52.78% 73.15% 0.00%
57.65%

Color #331D6C in popluar number systems.

HEX 33 1D 6C
Decimal 51 29 108
Binary 110011 11101 1101100
Octal 63 35 154

Shades and tints

Shades of #331D6C

#331D6C
(51,29,108)
#2F1B63
(47,27,99)
#2B195A
(43,25,90)
#271751
(39,23,81)
#231548
(35,21,72)
#1F133F
(31,19,63)
#1B1136
(27,17,54)
#170F2D
(23,15,45)
#130D24
(19,13,36)
#0F0B1B
(15,11,27)
#0B0912
(11,9,18)
#000000
(0,0,0)

Tints of #331D6C

#331D6C
(51,29,108)
#453179
(69,49,121)
#574586
(87,69,134)
#695993
(105,89,147)
#7B6DA0
(123,109,160)
#8D81AD
(141,129,173)
#9F95BA
(159,149,186)
#B1A9C7
(177,169,199)
#C3BDD4
(195,189,212)
#D5D1E1
(213,209,225)
#E7E5EE
(231,229,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331D6C color. Also use rgb(51,29,108) instead hex code.

Text Font Color

.myTextColor { color: #331D6C; }

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

This text font color is #331D6C.

Background Color

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

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

This div background color is #331D6C.

Border color

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

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

This div border color is #331D6C.

Opacity

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

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

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

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

This text has shadow with #331D6C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #331D6C.

Preview

Color preview on black background

This text has color #331D6C on black background.


Color preview on white background

This text has color #331D6C on white background.


Black color preview on #331D6C background

This text has black color on #331D6C background.


White color preview on #331D6C background

This text has white color on #331D6C background.


Related colors

Complementary color

Complementary color for #hex is #CCE293.


I love getcolorcode.com

Triadic colors

1 #6C331D and #1D6C33 with #331D6C are triadic colors.

2 #6C1D33 and #1D336C with #331D6C are triadic colors.