Forrest logo
back to the pastel tool

pastel:tldr:7fe0a

pastel: Convert colors from one format to another. Here from RGB to HSL.
$ pastel format ${hsl} ${ff8000}
try on your machine

The command "pastel format ${hsl} ${ff8000}" is using the "pastel" command-line tool to format and display the specified color value.

  • "${hsl}" represents the color value in HSL (Hue, Saturation, Lightness) format. HSL is a color model that describes colors based on their hue value (0-360 degrees), saturation value (0-100%), and lightness value (0-100%). The "${hsl}" is a placeholder that should be replaced with an actual HSL color value.

  • "${ff8000}" represents the color value in hexadecimal format. In this case, it represents the color "ff8000", which is a shade of orange. Hexadecimal format uses a combination of six alphanumeric characters (0-9, A-F) to represent RGB (Red, Green, Blue) color values. The first two characters represent the red component, the next two represent green, and the last two represent blue. Each color component can range from 00 (minimum) to FF (maximum).

By executing this command, the "pastel" tool will take the specified color value and format it for display, providing information about the color in a visually appealing way.

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