Star Color and Temperature

astronomy simulation

Instructions: Use the slider or text input to set the temperature of the star.
Explanation: Stars have different colors when we observe them. The color we see is related to the temperature of the star.

Link to stand-alone sim: Here is a link to view the sim on its own, with no distractions.

View this sim →


star color
blackbody radiation
color and temperature

Embed code: Use this sim on a webpage. Copy the code block below, and include it anywhere on a webpage to show the sim.


  1. Blackbody temperature to RGB adopted from Digital color codes of stars JV Harre, R Heller