Forrest logo
back to the slop tool

slop:tldr:02f74

slop: Specify the selection rectangle's color.
$ slop -c ${red},${green},${blue},${alpha}
try on your machine

The command "slop -c ${red},${green},${blue},${alpha}" is using the "slop" tool with the specified color values.

Here is a breakdown of each component:

  • "slop" is a tool that allows users to draw a selection rectangle on the screen and obtain its coordinates or dimensions.
  • "-c" is an option flag used to specify the color of the selection rectangle.
  • "${red},${green},${blue},${alpha}" refers to the RGB (red, green, blue) and alpha values that determine the color of the selection rectangle. Each component (red, green, blue, and alpha) should be replaced with numeric values ranging from 0 to 255. The red, green, and blue values define the color, while the alpha value represents the transparency level.

For example, if you want to set the color of the selection rectangle to red with full opacity, you could use the command: slop -c 255,0,0,255.

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 slop tool