Skip to main content
Participating Frequently
June 18, 2010
Question

Tri color gradient issue

  • June 18, 2010
  • 1 reply
  • 1569 views

Hi,

I am trying to build an application where tricolor gradient is used but i found abrut change in the color. But there is smothness in the case of 2 color gradient. So please help me out to create an tri color gradient with the smothnes of all three color.

Note: In image you can see a strip of yellow,green and black color.I want, there is smothness when two color intercept

This topic has been closed for replies.

1 reply

Inspiring
June 18, 2010

Show the code.

What are the ratios?

Participating Frequently
June 19, 2010

ratio[0,170,225];

Thanks for reply!!!!!

Inspiring
June 19, 2010

Off the top of my head you, perhaps, need to change dimensions of matrix gradient box to accommodate rotation. Its width and height should increase proportionate to rotation.