Skip to content
  • Live
  • Blog
  • Shop
  • Contact
  • About
  • Discord
  • GitHub
  • YouTube
  • Twitch
  • Instagram
CheerLights

CheerLights

We are all connected.

CheerLights on GitHub, Twitch, and Discord. We are all connected.
  • Learn
  • Build
  • Connect
  • Toggle search form

CheerLights JavaScript Client Library Released at GitHub

Posted on December 10, 2021December 10, 2021 By Hans Scharler No Comments on CheerLights JavaScript Client Library Released at GitHub

To quickly get the latest CheerLights color from a webpage, use the new JavaScript client library for CheerLights. All you have to do is call a straightforward JavaScript function to get the color and then do what you want with it.

CheerLights.getColor(callbackFunctionName);

The CheerLights JavaScript Client Library is hosted at GitHub under the open source MIT License. Go forth and build… and star and fork.

CheerLights JavaScript Client Library

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Reddit (Opens in new window) Reddit
  • More
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Email a link to a friend (Opens in new window) Email
  • Print (Opens in new window) Print

Related


Discover more from CheerLights

Subscribe to get the latest posts sent to your email.

News Tags:api, github, javascript, thingspeak

Post navigation

Previous Post: Global Network of Synchronized Lights: CheerLights 10th Anniversary
Next Post: Huge CheerLights Display: Ellie the Dinosaur

Related Posts

Embed a CheerLights Widget on Your Website News
A U-shaped kitchen at night with a blue LED strip glowing along the top of the cream cupboards and washing the ceiling in blue. CheerLights Kitchen Lights: An ESP8266 LED Strip Above the Cupboards Projects
An LED sign spelling IDEAS in CheerLights colors Ideas for taking CheerLights further… Ideas

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.

Get new CheerLights posts by email

Tutorials, new builds, and announcements, one email per post.

  • CheerLights on GitHub: Where Every Open Source Project Lives
  • CheerLights for Home Assistant: Your Lights Follow the Color Everyone Shares
  • CheerLights Terminal 0.2: Watch the Color Change Live in Your Terminal
  • CheerLights on an omg.lol Profile Card: A Display With No Hardware
  • CheerLights on Bluesky: Post a Color and Lights Around the World Change

Copyright © 2026 CheerLights.

Powered by PressBook Grid Blogs theme

Loading Comments...