setColor on cc.Sprite doesn't work well on canvas mode

works alright for some colors but not for others, like:
cc.c3b(50,50,50)

it results on a transparent sprite.

Hi,

I have tested it on HelloHTML5World, the screenshot like this:

It works correctly.

Hi David,

I’m afraid it doesn’t work for me. Please take a look to my test:

https://dl.dropboxusercontent.com/u/17484152/Test_TrueMakeUp/index.html

On webGL everything works fine. On canvas tinting the hair with cc.c3b(50,50,50) produces a transparent sprite. Besides that, tinting the png with light colors results in dark pixels on the borders.

Hi RavalMatic,

This bug has been fixed at https://github.com/cocos2d/cocos2d-html5/pull/1288

Thanks very much.
David