Devapix logo
Docs
Close

Getting icons: Color

color is an optional property that can be specified by the key color or c. Its value have to be a hexadecimal or CSS valid color.

Hexadecimal color must not contain # symbol, otherwise the icon will not be colored as expected.

This property colors only icons with one color, therefore if the default icon has more than one color it returns the plain icon instead.

?[ICON_NAME]&color=[COLOR]?[ICON_NAME]&c=[COLOR]
Double click to copy

Examples

Request
https://devapix.vercel.app/api?python&color=f0a
Double click to copy
Response
python

Request
https://devapix.vercel.app/api?python&c=gold
Double click to copy
Response
python