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.
GET /api?{iconName}&color={color}GET /api?{iconName}&c={color}
Double click to copy
Examples
Parameter
Value
iconName
python
color
f0a
Request
https://devapix.vercel.app/api?python&color=f0a
Double click to copy
Response
Parameter
Value
iconName
python
c
gold
Request
https://devapix.vercel.app/api?python&c=gold