Skip to content

Instantly share code, notes, and snippets.

@nfreader
Created May 1, 2014 17:07
Show Gist options
  • Save nfreader/4c73ae34ccfcbeea2650 to your computer and use it in GitHub Desktop.
Save nfreader/4c73ae34ccfcbeea2650 to your computer and use it in GitHub Desktop.
A range of visually distinct colors suitable for white text
<?php
$colors = array('#FF69B4','#FF1493','#C71585','#DC143C','#B22222','#8B0000','#FF0000','#FF8C00','#B8860B','#D2691E','#8B4513','#A52A2A','#556B2F','#808000','#3CB371','#2E8B57','#008000','#006400','#00CED1','#008080','#00BFFF','#1E90FF','#4682B4','#0000FF','#0000CD','#191970','#FF00FF','#BA55D3','#8A2BE2','#8B008B','#4B0082','#7B68EE','#696969','#778899','#2F4F4F','#000000');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment