From 3a1070feca77d123e7194907f7857c5673c04b5b Mon Sep 17 00:00:00 2001 From: Sean Killeen Date: Mon, 9 Jan 2017 16:11:11 -0500 Subject: [PATCH] Add docs snippet for label coloring (#1530) * Update label docs to reflect color information Resolves #790 * Clarify doc language Because I couldn't just have a one-commit PR. No, that'd be too easy. * Futher clarification I guess we might as well make it right. --- docs/labels.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/labels.md b/docs/labels.md index 63cc8cb1..494a7aa5 100644 --- a/docs/labels.md +++ b/docs/labels.md @@ -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 displaying the colors, you may need to add the `#` in order to display them properly. \ No newline at end of file