Skip to content
  • Twitter
  • Instagram
  • YouTube
CheerLights: Making Connections Around the World with the Internet of Things

CheerLights

We are all connected.

  • Home
  • CheerLights API
  • Build
  • Projects
  • News
  • Live
  • Contact
  • About
  • Toggle search form

CheerLights API Updates – We Added HEX Color Values!

Posted on September 10, 2015 By Hans Scharler 3 Comments on CheerLights API Updates – We Added HEX Color Values!

We received many requests last year to add support for HEX color values. HEX color values are supported all around the world and this CheerLights API update will help new people join the CheerLights project.

CheerLights uses channel number 1417 on ThingSpeak to store the colors that people Tweet. ThingSpeak supports up to 8 fields, so now we are using field2 to store the color’s HEX value. For example, oldlace and warmwhite get stored in field2 as #FDF5E6.

CheerLights Last HEX Color Value

  • http://api.thingspeak.com/channels/1417/field/2/last.json
  • http://api.thingspeak.com/channels/1417/field/2/last.xml
  • http://api.thingspeak.com/channels/1417/field/2/last.txt

We also support people tweeting the HEX colors. Just for fun…

.@cheerlights Did you ever notice that HEX color values are like hashtags? #FDF5E6

For more information, read the CheerLights API documentation.

Share this:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • More
  • Pinterest
  • LinkedIn
  • Email
  • Print

Related

News Tags:api, HEX, RGB, thingspeak

Post navigation

Previous Post: Getting Ready for a New Season of CheerLights…
Next Post: Analyzing CheerLights with MATLAB

Related Posts

CheerLights JavaScript Client Library Released at GitHub News
Adafruit Feather HUZZAH CheerLights Project by Marc de Vinck Projects
The CheerLights Origin Story: Arduino, IoT, Twitter, and Community News

Comments (3) on “CheerLights API Updates – We Added HEX Color Values!”

  1. Presence says:
    September 10, 2015 at 6:05 pm

    When tweeting a hex code, what word/name goes into the first field?

    Reply
    1. Hans Scharler says:
      September 10, 2015 at 6:40 pm

      It will be the color name, so #FF0000 will go to field2 and “red” will go to field1 as normal.

      Reply
  2. Fotonic says:
    January 31, 2016 at 10:44 pm

    If I tweet an hex code which doesn’t correspond to the hex of one of the standard colours, what happens? Will field1 get the name of the standard colour nearer to my hex code? Field2 will mantain the original posted hex code or will it also be ’rounded’ to the nearer standard?
    Thanks.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • CheerLights on a $5 Lumin+ Light from Five Below Using Bluetooth
  • CheerLights Displayed on the M5StickC PLUS ESP32-PICO IoT Development Kit
  • Growing the Community: New CheerLights Discord Bot
  • Every Hardware Store Sells Candy Canes: Make Giant CheerLights Displays With PVC Pipes and Fittings
  • Light Up Your Sports Posters With CheerLights

Copyright © 2022 CheerLights.

Powered by PressBook Grid Blogs theme

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.