Skip to content

yagiziskirik/Github-Colored-Text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Github-Colored-Text

Version 1.0.0 Licence

Create text for Github readme pages!

I wanted to make my Github page , so here is a solution for all of you.

Usage

You can use the api like this:

![API](https://github-colored-text-fn3z.vercel.app/api/index.js?text=YOURTEXTHERE&color=HEXCOLOR&width=TEXTWIDTH&fontSize=FONTSIZE&height=HEIGHT&x=X&y=Y)

Customisation

  • text: Your word to be colourised (Default: ''). [CHANGE RECOMMENDED]
  • color: Hex color WITHOUT the hashtag (Default: ff0000). [CHANGE RECOMMENDED]
  • fontSize: Font size (Default: 17).
  • width: Width of the text container (Default: 150). [CHANGE RECOMMENDED]
  • height: Height of the text container (Default: fontsize).
  • x: X position of the text (Default: 0).
  • y: Y position of the text (Default: fontsize).

You can do trial-and-error to get the right settings. I believe it is quite useful for your projects. And you can also check out my Github page for the example usage.