COLOR #2D255A

HEX: #2D255A
RGB: (45,37,90)

Color info

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

RGB color model

#2D255A color RGB value is (45,37,90).

  • red value is 45;
  • green value is 37;
  • blue value is 90.
RGB:
(45,37,90)
(18%,15%,35%)

RGB channels and saturation

R 45 of 255 = 18%
G 37 of 255 = 15%
B 90 of 255 = 35%

45
37
90

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

Portions of RGB colors in percentages

R + G + B =
45 + 37 + 90 = 172 (100%)
R 45 of 172 ~ 26.16%
G 37 of 172 ~ 21.51%
B 90 of 172 ~ 52.33%

%26.16
%21.51
%52.33

CMYK color model

#2D255A color CMYK value is (50,59,0,65).

  • cyan value is 50.00%
  • magenta value is 58.89%
  • yellow value is 0.00%
  • key color value is 64.71%
CMYK:
(50,59,0,65)
C50M59Y0K65 
(50%,59%,0%,65%)
(0.50/0.59/0.00/0.65)	

CMYK percentages

%50
%58.89
%0
%64.71

Codes

Color #2D255A in popluar color models

2D255A
RGB453790
HSL249°41.73%24.90%
HSB/HSV249°58.89%35.29%
CMYK50.00%58.89%0.00%
64.71%

Color #2D255A in popluar number systems.

HEX2D255A
Decimal453790
Binary1011011001011011010
Octal5545132

Shades and tints

Shades of #2D255A

#2D255A
(45,37,90)
#292252
(41,34,82)
#251F4A
(37,31,74)
#211C42
(33,28,66)
#1D193A
(29,25,58)
#191632
(25,22,50)
#15132A
(21,19,42)
#111022
(17,16,34)
#0D0D1A
(13,13,26)
#090A12
(9,10,18)
#05070A
(5,7,10)
#000000
(0,0,0)

Tints of #2D255A

#2D255A
(45,37,90)
#403869
(64,56,105)
#534B78
(83,75,120)
#665E87
(102,94,135)
#797196
(121,113,150)
#8C84A5
(140,132,165)
#9F97B4
(159,151,180)
#B2AAC3
(178,170,195)
#C5BDD2
(197,189,210)
#D8D0E1
(216,208,225)
#EBE3F0
(235,227,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2D255A color. Also use rgb(45,37,90) instead hex code.

Text Font Color

.myTextColor { color: #2D255A; }

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

This text font color is #2D255A.


Background Color

.myBgColor { background-color: #2D255A; }

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

This div background color is #2D255A.


Border color

.myBorderColor { border: 1px solid #2D255A; }

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

This div border color is #2D255A.


Opacity

.myOpacity80 { color: #2D255A; opacity: 0.8; }

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

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

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

This text has shadow with #2D255A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2D255A on black background.


Color preview on white background

This text has color #2D255A on white background.



Black color preview on #2D255A background

This text has black color on #2D255A background.


White color preview on #2D255A background

This text has white color on #2D255A background.