๐จCustomizing
When using Shields.io badges in Markdown, you can modify various aspects such as badge color, text, logos, and styles.
1. Changing Badge Color
You can change the color of your badge by choosing one of the colors seen in the image below in the place of blue
.

For Example: 
Result:
1a. Using hexadecimal colors
Alternatively, you can use hexadecimal colors to get a specific shade of a color that shield.io may not have built in.
For Example: 
Result:
2. Modifying Text
Change the text displayed on the badge by altering the text after the badge name in the URL (in this case, its Some%20Placeholder%20Text).
For Example: 
Result:
2a. Splitting text
Want to split the text to have 2 different sections? You can do this by adding a dash (-
) between the words.
For Example: 
Result:
3. Adding Logos
You can include logos on your badges by specifying the logo name after the logo= parameter in the badge URL.
For Example (using the Docker logo): 
Result:
Another Example (using the Sass logo): 
Result:
3a. Supported icons/logos
Shields.io uses Simple Icons and a small sub-set of it's own icons/logos. If you can find your icon/logo on https://simpleicons.org, it will work with your badge. Shields.io also has its own few custom badges that you can find here.
Here's an example of the comparison between a SimpleIcons logo and a Shields.io logo:
Example: SimpleIcons
-
[](#)
Example: Shields.io
-
[](#)
For md-badges, badges are only included if they have a SimpleIcons variant.
3b. Custom Logo's
You can also utilize custom logo's in the URL parameter by base64 encoding it.
For example:
-

Last updated
Was this helpful?