COLOR #333842

HEX: #333842
RGB: (51,56,66)

Color info

#333842 contains red, green and blue colors in about the same proportion. Web safe color of #333842 is #333333 (or #333).

RGB color model

#333842 color RGB value is (51,56,66).

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

RGB channels and saturation

R 51 of 255 = 20%
G 56 of 255 = 22%
B 66 of 255 = 26%

51
56
66

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

Portions of RGB colors in percentages

R + G + B =
51 + 56 + 66 = 173 (100%)
R 51 of 173 ~ 29.48%
G 56 of 173 ~ 32.37%
B 66 of 173 ~ 38.15%

%29.48
%32.37
%38.15

CMYK color model

#333842 color CMYK value is (23,15,0,74).

  • cyan value is 22.73%
  • magenta value is 15.15%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK:
(23,15,0,74)
C23M15Y0K74 
(23%,15%,0%,74%)
(0.23/0.15/0.00/0.74)	

CMYK percentages

%22.73
%15.15
%0
%74.12

Codes

Color #333842 in popluar color models

333842
RGB515666
HSL220°12.82%22.94%
HSB/HSV220°22.73%25.88%
CMYK22.73%15.15%0.00%
74.12%

Color #333842 in popluar number systems.

HEX333842
Decimal515666
Binary1100111110001000010
Octal6370102

Shades and tints

Shades of #333842

#333842
(51,56,66)
#2F333C
(47,51,60)
#2B2E36
(43,46,54)
#272930
(39,41,48)
#23242A
(35,36,42)
#1F1F24
(31,31,36)
#1B1A1E
(27,26,30)
#171518
(23,21,24)
#131012
(19,16,18)
#0F0B0C
(15,11,12)
#0B0606
(11,6,6)
#000000
(0,0,0)

Tints of #333842

#333842
(51,56,66)
#454A53
(69,74,83)
#575C64
(87,92,100)
#696E75
(105,110,117)
#7B8086
(123,128,134)
#8D9297
(141,146,151)
#9FA4A8
(159,164,168)
#B1B6B9
(177,182,185)
#C3C8CA
(195,200,202)
#D5DADB
(213,218,219)
#E7ECEC
(231,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #333842 color. Also use rgb(51,56,66) instead hex code.

Text Font Color

.myTextColor { color: #333842; }

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

This text font color is #333842.


Background Color

.myBgColor { background-color: #333842; }

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

This div background color is #333842.


Border color

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

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

This div border color is #333842.


Opacity

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

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

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

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

This text has shadow with #333842 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #333842 on black background.


Color preview on white background

This text has color #333842 on white background.



Black color preview on #333842 background

This text has black color on #333842 background.


White color preview on #333842 background

This text has white color on #333842 background.