COLOR #331A39

HEX: #331A39
RGB: (51,26,57)

Color info

#331A39 contains red, green and blue colors in about the same proportion. Web safe color of #331A39 is #330033 (or #303).

RGB color model

#331A39 color RGB value is (51,26,57).

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

RGB channels and saturation

R 51 of 255 = 20%
G 26 of 255 = 10%
B 57 of 255 = 22%

51
26
57

R + G + B ~ 17%. #331A39 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 26 + 57 = 134 (100%)
R 51 of 134 ~ 38.06%
G 26 of 134 ~ 19.4%
B 57 of 134 ~ 42.54%

%38.06
%19.4
%42.54

CMYK color model

#331A39 color CMYK value is (11,54,0,78).

  • cyan value is 10.53%
  • magenta value is 54.39%
  • yellow value is 0.00%
  • key color value is 77.65%
CMYK:
(11,54,0,78)
C11M54Y0K78 
(11%,54%,0%,78%)
(0.11/0.54/0.00/0.78)	

CMYK percentages

%10.53
%54.39
%0
%77.65

Codes

Color #331A39 in popluar color models

331A39
RGB512657
HSL288°37.35%16.27%
HSB/HSV288°54.39%22.35%
CMYK10.53%54.39%0.00%
77.65%

Color #331A39 in popluar number systems.

HEX331A39
Decimal512657
Binary11001111010111001
Octal633271

Shades and tints

Shades of #331A39

#331A39
(51,26,57)
#2F1834
(47,24,52)
#2B162F
(43,22,47)
#27142A
(39,20,42)
#231225
(35,18,37)
#1F1020
(31,16,32)
#1B0E1B
(27,14,27)
#170C16
(23,12,22)
#130A11
(19,10,17)
#0F080C
(15,8,12)
#0B0607
(11,6,7)
#000000
(0,0,0)

Tints of #331A39

#331A39
(51,26,57)
#452E4B
(69,46,75)
#57425D
(87,66,93)
#69566F
(105,86,111)
#7B6A81
(123,106,129)
#8D7E93
(141,126,147)
#9F92A5
(159,146,165)
#B1A6B7
(177,166,183)
#C3BAC9
(195,186,201)
#D5CEDB
(213,206,219)
#E7E2ED
(231,226,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #331A39; }

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

This text font color is #331A39.


Background Color

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

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

This div background color is #331A39.


Border color

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

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

This div border color is #331A39.


Opacity

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

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

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

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

This text has shadow with #331A39 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331A39 on black background.


Color preview on white background

This text has color #331A39 on white background.



Black color preview on #331A39 background

This text has black color on #331A39 background.


White color preview on #331A39 background

This text has white color on #331A39 background.