Skip to content
Sign upLog in
← Back to Community

color mixing in css

Profile icon
Chewyblockguy

I want to set the css background to two colors mixed to be the same as the background of this image (credit to cubeupload and canva) but made with just code no using images
example

Answered by InvisibleOne [earned 5 cycles]
View Answer
Voters
Profile icon
ollybaker
Profile icon
Chewyblockguy
Comments
hotnewtop
Profile icon
InvisibleOne

Use something like this:

background : linear-gradient(blue, darkblue);

I think that's how it's done, you can read more here: https://www.w3schools.com/css/css3_gradients.asp

Profile icon
Chewyblockguy

@InvisibleOne
thanks so much

Profile icon
InvisibleOne

No problem

@Chewyblockguy