:
logo qtransform

  to  




#40126B color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #40126B
#40126B

   In a RGB color space, hex #40126B is composed of 25% red, 7% green and 42% blue.
RGB color code is composed of a hexadecimal 40 red (64/255), a 12 green (18/255) and a 6B blue component (107/255). The decimal RGB color code is rgb(64,18,107)
In CMYK color space, it is composed of 40% cyan, 83% magenta, 0% yellow and 58% black.
It has a hue angle of 271.01o degrees, a saturation of 71% and a lightness of 25%.
Closest websafe color is: #330066 rgb (51, 0, 102).
twitter  facebook  whatsapp


Color conversion




#40126B
rgb(64,18,107)
=25%
from 255
7%
from 255
42%
from 255
=40
from 100
83
from 100
0
from 100
58
from 100
R: 64
red
G: 18
green
B: 107
blue
C: 40
cyan
M: 83
magenta
Y: 0
yellow
K: 58
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #40126B has RGB values of R:64, G:18, B:107 and CMYK values of C:40, M:83, Y:0, K:58. Its decimal value is 4199019.Binary code is 10000000001001001101011
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color40126B #40126B
RGB decimal64, 18, 107 rgb(64, 18, 107)
RGB %25, 7, 42 rgb(25%, 7%, 42%)
RGB Adobe58, 25, 105
CMYK %40, 83, 0, 58 40%, 83%, 0%, 58%
HSL271.01o, 71, 25 hsl(271.01o, 71%, 25%)
HSV (HSB)271o, 83%, 42% hsv(271o, 83%, 42%)
Web Safe color#330066 rgb (51, 0, 102)
XYZ4.985, 2.584 14.146
xyY0.23, 0.12, 2.58
Hunter-Lab16.07, 28.53, -43.41
CMY75%, 93%, 58%
Lab17.76, 35.45, -42.8
Binary color
40 12 6B
1000000 10010 1101011

Shades and tints of #40126B


A shade is achieved by adding black to original color on hue code.
A tint is created by mixing color with white.
Use the palette to pick a color or the sliders to set the RGB, HSV, CMYK components.
For example here: #0C0315 is the darkest color, and: #DAD0E2 is the lightest one.

Tint color variation #40126B


Shade color variation


Tones of #40126B
A tone is produced by adding gray to any pure hue. In this case, #461D6D is the less saturated color, and #6A5A79 is the most saturated one.


Alternatives to #40126B


Below, you can see some colors close to #40126B. Having a set of related colors can be useful if you need an inspirational alternative or other close colors to your original color choice.




Quick use #40126B


How to use this color on webpages, scripts or other programming languages using html, CSS, dhtml, JAVA, .NET, openGL, Swift, Xojo

Color of the text Background color example
Color of the text
Background color example

<font color="#40126B;">Text here</font>

<div style="background-color:#40126B;">Text here</div>



Color preview on black background Color preview on white background
color preview on black background
color preview on white background
HTML code

<div style="background-color:#000000"> <font color="#40126B;">Text here</font> </div>

HTML code

<div style="background-color:#FFFFFF; border: 1px dotted #999999;"> <font color="#40126B;">Text here</font> </div>



Div box shadow Text shadow css code
box shadow for color #40126B
text shadow css code
HTML code

<div style="background-color:#FFFFFF; box-shadow: 2px 2px 7px 1px #40126B;"></div>

CSS code

.box-shadow: 2px 2px 7px 1px;

CSS code

.text-shadow: 1px 2px 2px #40126B;



Box border html code Text shadow with RGB values for color #40126B
box border html code for color #40126B

text shadow with RGB values

HTML code

<div style="background-color:#FFFFFF; border:1px solid #40126B;"></div>

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(64, 18, 107, 1.4);



Pre-formatted code 40126B code for script / programming
HTML, CSS: = #40126B; rgb(64, 18, 107)
Java: = new Color(64, 18, 107)
.NET: = Color.FromArgb (64, 18, 107);
Xojo: = rgb (64, 18, 107, 0);
openGL: = glColor3f (0.25f, 0.07f, 0.42f);
Swift: = UIColor(red:0.25, green:0.07, blue:0.42, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.25 green:0.07 blue:0.42 alpha:1.00000];


Color schemes with #40126B


Monochromatic color
monochromatic color scheme

Monochromatic color schemes are easy to create because they use only one color. Monochromatic schemes use different tones from the same angle on the color wheel (the same angle).Just change color saturation +10% and you have a new monocromatic color. On our case color: 83% has a #40126B saturation. Adding 83% + 10% = 93% saturation for our new color #260545. Decreasing 83% - 10% = 73% saturation for other monochromatic color #5E2791.

Analogous color
analogous color scheme

Analogous color schemes are created by using colors that are next to each other on the color wheel. Just +/- 30o on sides of the color hue angle.

Complementary color
complementary color scheme
Complementary schemes are created by combining colors from opposite sides of the color wheel. Simple add 180 degrees to color hue / angle and you have the complementary color. On our case color: #40126B has a 271o angle. Adding 271o + 180o = 91oo for our new complementary color #3D6B12.

Split color
split color scheme

Compound schemes or split complementary schemens are almost the same as complementary schemes.
Instead of using colors that are opposites, it uses colors on both sides of the opposite hue angle.
On our case color: #40126B has a 271o angle. Adding 271o + 180o+30o = 121o for our first complementary color #126B14. Decreasing 271o + 180o-30o = 61o for the second complementary color #6A6B12.

Tiradic color
tiradic color scheme

Triadic schemes are made up of hues/angles equally spaced around color wheel. Add and decrease +/- 120 degrees on both sides of the color hue angle.

Tetradic color
tetradic color scheme

Tetradic schemes are made up of hues/angles spaced around color wheel. Add 120,180,300 degrees on the color hue angle.