COLOR #28284E

HEX: #28284E
RGB: (40,40,78)

Color info

#28284E contains red, green and blue colors in about the same proportion. Web safe color of #28284E is #333366 (or #336).

RGB color model

#28284E color RGB value is (40,40,78).

  • red value is 40;
  • green value is 40;
  • blue value is 78.
RGB:
(40,40,78)
(16%,16%,31%)

RGB channels and saturation

R 40 of 255 = 16%
G 40 of 255 = 16%
B 78 of 255 = 31%

40
40
78

R + G + B ~ 21%. #28284E is dark color.

Portions of RGB colors in percentages

R + G + B =
40 + 40 + 78 = 158 (100%)
R 40 of 158 ~ 25.32%
G 40 of 158 ~ 25.32%
B 78 of 158 ~ 49.37%

%25.32
%25.32
%49.37

CMYK color model

#28284E color CMYK value is (49,49,0,69).

  • cyan value is 48.72%
  • magenta value is 48.72%
  • yellow value is 0.00%
  • key color value is 69.41%
CMYK:
(49,49,0,69)
C49M49Y0K69 
(49%,49%,0%,69%)
(0.49/0.49/0.00/0.69)	

CMYK percentages

%48.72
%48.72
%0
%69.41

Codes

Color #28284E in popluar color models

28284E
RGB404078
HSL240°32.20%23.14%
HSB/HSV240°48.72%30.59%
CMYK48.72%48.72%0.00%
69.41%

Color #28284E in popluar number systems.

HEX28284E
Decimal404078
Binary1010001010001001110
Octal5050116

Shades and tints

Shades of #28284E

#28284E
(40,40,78)
#252547
(37,37,71)
#222240
(34,34,64)
#1F1F39
(31,31,57)
#1C1C32
(28,28,50)
#19192B
(25,25,43)
#161624
(22,22,36)
#13131D
(19,19,29)
#101016
(16,16,22)
#0D0D0F
(13,13,15)
#0A0A08
(10,10,8)
#000000
(0,0,0)

Tints of #28284E

#28284E
(40,40,78)
#3B3B5E
(59,59,94)
#4E4E6E
(78,78,110)
#61617E
(97,97,126)
#74748E
(116,116,142)
#87879E
(135,135,158)
#9A9AAE
(154,154,174)
#ADADBE
(173,173,190)
#C0C0CE
(192,192,206)
#D3D3DE
(211,211,222)
#E6E6EE
(230,230,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #28284E color. Also use rgb(40,40,78) instead hex code.

Text Font Color

.myTextColor { color: #28284E; }

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

This text font color is #28284E.


Background Color

.myBgColor { background-color: #28284E; }

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

This div background color is #28284E.


Border color

.myBorderColor { border: 1px solid #28284E; }

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

This div border color is #28284E.


Opacity

.myOpacity80 { color: #28284E; opacity: 0.8; }

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

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

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

This text has shadow with #28284E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #28284E on black background.


Color preview on white background

This text has color #28284E on white background.



Black color preview on #28284E background

This text has black color on #28284E background.


White color preview on #28284E background

This text has white color on #28284E background.