COLOR #331128

HEX: #331128
RGB: (51,17,40)

Color info

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

RGB color model

#331128 color RGB value is (51,17,40).

  • red value is 51;
  • green value is 17;
  • blue value is 40.
RGB:
(51,17,40)
(20%,7%,16%)

RGB channels and saturation

R 51 of 255 = 20%
G 17 of 255 = 7%
B 40 of 255 = 16%

51
17
40

R + G + B ~ 14%. #331128 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 17 + 40 = 108 (100%)
R 51 of 108 ~ 47.22%
G 17 of 108 ~ 15.74%
B 40 of 108 ~ 37.04%

%47.22
%15.74
%37.04

CMYK color model

#331128 color CMYK value is (0,67,22,80).

  • cyan value is 0.00%
  • magenta value is 66.67%
  • yellow value is 21.57%
  • key color value is 80.00%
CMYK:
(0,67,22,80)
C0M67Y22K80 
(0%,67%,22%,80%)
(0.00/0.67/0.22/0.80)	

CMYK percentages

%0
%66.67
%21.57
%80

Codes

Color #331128 in popluar color models

331128
RGB511740
HSL319°50.00%13.33%
HSB/HSV319°66.67%20.00%
CMYK0.00%66.67%21.57%
80.00%

Color #331128 in popluar number systems.

HEX331128
Decimal511740
Binary11001110001101000
Octal632150

Shades and tints

Shades of #331128

#331128
(51,17,40)
#2F1025
(47,16,37)
#2B0F22
(43,15,34)
#270E1F
(39,14,31)
#230D1C
(35,13,28)
#1F0C19
(31,12,25)
#1B0B16
(27,11,22)
#170A13
(23,10,19)
#130910
(19,9,16)
#0F080D
(15,8,13)
#0B070A
(11,7,10)
#000000
(0,0,0)

Tints of #331128

#331128
(51,17,40)
#45263B
(69,38,59)
#573B4E
(87,59,78)
#695061
(105,80,97)
#7B6574
(123,101,116)
#8D7A87
(141,122,135)
#9F8F9A
(159,143,154)
#B1A4AD
(177,164,173)
#C3B9C0
(195,185,192)
#D5CED3
(213,206,211)
#E7E3E6
(231,227,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331128 color. Also use rgb(51,17,40) instead hex code.

Text Font Color

.myTextColor { color: #331128; }

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

This text font color is #331128.


Background Color

.myBgColor { background-color: #331128; }

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

This div background color is #331128.


Border color

.myBorderColor { border: 1px solid #331128; }

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

This div border color is #331128.


Opacity

.myOpacity80 { color: #331128; opacity: 0.8; }

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

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

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

This text has shadow with #331128 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331128 on black background.


Color preview on white background

This text has color #331128 on white background.



Black color preview on #331128 background

This text has black color on #331128 background.


White color preview on #331128 background

This text has white color on #331128 background.