Skip to content

Commit

Permalink
Update label docs to reflect color information
Browse files Browse the repository at this point in the history
Resolves octokit#790
  • Loading branch information
SeanKilleen committed Jan 9, 2017
1 parent b3c8b64 commit c411d91
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/labels.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ The default labels that come with every repository are:
- invalid
- question
- wontfix

## A Note on Label Colors
The official API returns colors without the leading `#` that you may expect when working with hex colors -- for example, white would return `FFFFFF`, not `#FFFFFF`.

If you're translating these directly the colors, you may need to modify them to add the `#` in order to display them properly.

0 comments on commit c411d91

Please sign in to comment.