Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3978

Make color of polygon/rectangle a bit darker or brighter

$
0
0

I was wondering are there any useful functions in Pixi.js which I can use in my Phaser 2.6 application to darken /brighten fill color of rectangles polygons etc...? For example make rgb(200, 150, 186) 10% darker.

I might code a function like that in JS but should I?

A tool that does the job but it works in NodeJS: https://www.npmjs.com/package/color


Viewing all articles
Browse latest Browse all 3978

Trending Articles