Forrest logo
back to the redshift tool

redshift:tldr:5e9f2

redshift: Turn on Redshift with custom gamma levels (between 0 and 1).
$ redshift -g ${red}:${green}:${blue}
try on your machine

The command redshift -g ${red}:${green}:${blue} is used to run the redshift program with a specific color temperature.

Here's a breakdown of the command:

  • redshift is the name of the program that adjusts the color temperature of the screen to reduce eye strain and promote better sleep.
  • -g is an option/flag used to set the color temperature via command-line.
  • ${red}:${green}:${blue} are variables enclosed in ${} that represent the values of red, green, and blue color components used to set the color temperature. These variables should be replaced with specific values.

The color temperature values for red, green, and blue can usually be specified in the range of 0 to 255, where 0 represents no presence of the color and 255 represents full presence. By adjusting these color component values, you can customize the screen's color temperature to a desired warmth or coolness.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the redshift tool