Skip to content

Instantly share code, notes, and snippets.

@HRankit
HRankit / BackgroundColorAndTextColor.json
Last active May 3, 2019 09:01
While working on a project I found out that setting white as text color on an light background caused the text to be unreadable. So made a json file which has 'b' as background color and 't' as text color. Hope this will help someone. All colors have been taken from Google Material Design.
[
{
"b": "5e35b1",
"t": "FFFFFF"
},
{
"b": "512da8",
"t": "FFFFFF"
},
{