Gihan
Gihan

Reputation: 3749

How to Generate an Image/SVG File Using a CSS Gradient

I have the following CSS gradient and I want to generate an Image or a SVG file from this but I have no idea how to do this. Your advice very much appreciated.

background: -webkit-linear-gradient(bottom, rgb(211, 208, 211) 0%, rgb(235, 236, 234) 100%);
background: -o-linear-gradient(bottom, rgb(211, 208, 211) 0%, rgb(235, 236, 234) 100%);
background: -ms-linear-gradient(bottom, rgb(211, 208, 211) 0%, rgb(235, 236, 234) 100%);
background: -moz-linear-gradient(bottom, rgb(211, 208, 211) 0%, rgb(235, 236, 234) 100%);
background: linear-gradient(to top, rgb(211, 208, 211) 0%, rgb(235, 236, 234) 100%);

Upvotes: 0

Views: 72

Answers (1)

SoliMoli
SoliMoli

Reputation: 786

Just take your color codes to photoshop and generate it. or take a screenshot and crop it in photoshop.

Upvotes: 1

Related Questions