Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 916 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 916 Bytes

Tweet Colour

Utilises Wikipedia's colour lists to make a Twitter bot that is responsive to colour names and sends out the result via ArtNet to a DMX device.

utilities/colour.js

You can use this utility to clean up a copy and pasted list of colours from the Wikipedia site:

  1. A-F
  2. G-M
  3. N-Z

When copying and pasting the table the table columns usually become tabs, the RegEx in this script check that they match a pattern where there are no special characters and only includes these lines. Additionally the script only captures the colours name and hex value.

You should be able to compile copy and pasted lists from these three pages and get an updated list of colours to replace colours.csv should that be necessary.