Replicating CSS gradients: few problems
Posted: 2017-03-01T08:05:28-07:00
Hello,
First, let's say I want to replicate this CSS gradient with Imagick:
This is the best I could do in Imagick:
Second, how could I replicate this one (CSS):
The best I could do in Imagick:
I'm really desperate. I hope some kind of gradients superhero is here waiting to help people.
Thanks in advance!
First, let's say I want to replicate this CSS gradient with Imagick:
Code: Select all
radial-gradient(circle, #a6b1ff 50%, #342134)
Code: Select all
'radial-gradient:rgba(166, 177, 255, 0.5) 50% rgba(52, 33, 52, 0.5)'
Code: Select all
radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.8), rgba(255, 200, 200, 0.6), #111 60%)
Code: Select all
radial-gradient:rgba(255, 255, 255, 0.8)-rgba(255, 200, 200, 0.6)-#111111
Thanks in advance!