Table of Contents

Teaching

PHP

Bash

colornames.org is trying to name all 16.7M colours. They provide the data for download. Can we find out which colour has the most votes? We can string together some of the tools we've learned to use to find the answer. Source

$ curl -sL https://colornames.org/download/colornames.zip | zcat | sort -nk3 -t, | tail
486d83,Blue Loneliness,0.069
123456,Incremental Blue,0.071
1eeb01,Creeper Aw Man,0.072
336699,MetaFilter Blue,0.077
abcdef,Alphabet Blue,0.078
696969,Nice,0.124
b83c73,Red Tedir,0.139
ff0000,Red,0.249
ffffff,White,0.417
000000,Lil Huddy,1