This plugin converts between Praat’s colour format, and the more standard hexadecimal, RGB and HSV formats.
Similar to the standard Colour… command, this command takes a six-digit hexadecimal colour code and sets that as the colour to use with commands from the Pen menu.
Similar to the standard Colour… command, this command takes three arguments: the hue (as a number between 0 and 360), the saturation (as a number between 0 and 100), and the value (as a number between 0 and 100). The colour specified by these values is then set as the colour to use with commands from the Pen menu.
Similar to the standard Colour… command, this command takes three arguments corresponding to the red, green, and blue components of a colour (as numbers between 0 and 255). The colour specified by these values is then set as the colour to use with commands from the Pen menu.
Similar to the standard Paint circle… command, this commands paints a circle with the specified radius
at the position in the screen identified by the given coordinates (in the x
and y
arguments).
In this case, the first argument specifies the colour to paint the circle as a six-digit hexadecimal code.
Similar to the standard Paint circle… command, this commands paints a circle with the specified radius
at the position in the screen identified by the given coordinates (in the x
and y
arguments).
In this case, the first three argument specify the colour to paint the circle with the colour’s hue, saturation and value.
Similar to the standard Paint circle… command, this commands paints a circle with the specified radius
at the position in the screen identified by the given coordinates (in the x
and y
arguments).
In this case, the first three argument specify the colour to paint the circle with the colour’s red, green, and blue components.
This command is the same as Paint circle (hex)…, but the radius is specified in milimeters.
This command is the same as Paint circle (hsv)…, but the radius is specified in milimeters.
This command is the same as Paint circle (rgb)…, but the radius is specified in milimeters.
Similar to the standard Paint rectangle… command, this commands paints a rectangle extending horizontally from x1
to x2
, and vertically from y1
to y2
.
In this case, the first argument specifies the colour to paint the circle as a six-digit hexadecimal code.
Similar to the standard Paint rectangle… command, this commands paints a rectangle extending horizontally from x1
to x2
, and vertically from y1
to y2
.
In this case, the first three argument specify the colour to paint the circle with the colour’s hue, saturation and value.
Similar to the standard Paint rectangle… command, this commands paints a rectangle extending horizontally from x1
to x2
, and vertically from y1
to y2
.
In this case, the first three argument specify the colour to paint the circle with the colour’s red, green, and blue components.
Similar to the standard Paint rounded rectangle… command, this commands paints a rectangle extending horizontally from x1
to x2
, and vertically from y1
to y2
. The rectangle’s corners are rounded according to the value in radius
.
In this case, the first argument specifies the colour to paint the circle as a six-digit hexadecimal code.
Similar to the standard Paint rounded rectangle… command, this commands paints a rectangle extending horizontally from x1
to x2
, and vertically from y1
to y2
. The rectangle’s corners are rounded according to the value in radius
.
In this case, the first three argument specify the colour to paint the circle with the colour’s hue, saturation and value.
Similar to the standard Paint rounded rectangle… command, this commands paints a rectangle extending horizontally from x1
to x2
, and vertically from y1
to y2
. The rectangle’s corners are rounded according to the value in radius
.
In this case, the first three argument specify the colour to paint the circle with the colour’s red, green, and blue components.
Similar to the standard Paint ellipse… command, this commands paints an ellipse contained in the rectangle extending horizontally from x1
to x2
, and vertically from y1
to y2
.
In this case, the first argument specifies the colour to paint the circle as a six-digit hexadecimal code.
Similar to the standard Paint ellipse… command, this commands paints an ellipse contained in the rectangle extending horizontally from x1
to x2
, and vertically from y1
to y2
.
In this case, the first three argument specify the colour to paint the circle with the colour’s hue, saturation and value.
Similar to the standard Paint ellipse… command, this commands paints an ellipse contained in the rectangle extending horizontally from x1
to x2
, and vertically from y1
to y2
.
In this case, the first three argument specify the colour to paint the circle with the colour’s red, green, and blue components.
rainbow.proc
Generates a series of evenly-spaced colours with as many elements as specified in the number
argument. The generated colours share the same saturation
and value
, as interpreted in the HSV colour format.
The colours are stored as Praat colour strings in the .colours$
internal indexed variable.
hex2hsv.proc
Takes a six-digit hexadecimal colour code (with or without the preceding hash) and calculates the HSV components that describe that same colour. The generated components are stored in the .h
, .s
, and .v
internal variables as numbers between 0 and 360 for the hue, and between 0 and 100 for the saturation and value.
The hexadecimal code is case-insensitive.
hex2praat.proc
Takes a six-digit hexadecimal colour code (with or without the preceding hash) and generates the Praat colour string used in the standard praat commands. This string contains the red, green, and blue components of the colour as values between 0 and 1, separated by commas and between curly brackets. The colour string is stored in the .colour$
internal variable.
The hexadecimal code is case-insensitive.
hex2rgb.proc
Takes a six-digit hexadecimal colour code (with or without the preceding hash) and calculates the RGB components that describe that same colour. The generated components are stored in the .r
, .g
, and .b
internal variables as values between 0 and 255.
The hexadecimal code is case-insensitive.
hsv2hex.proc
Takes the hue (0-360), saturation (0-100), and value (0-100) that define a colour in the HSV format and calculates the six-digit hexadecimal code that describes that same colour. The generated colour code is stored in the .hex$
internal variable, in lowercase characters and with a leading hash.
hsv2praat.proc
Takes the hue (0-360), saturation (0-100), and value (0-100) that define a colour in the HSV format and calculates the Praat colour string used in the standard praat commands. This string contains the red, green, and blue components of the colour as values between 0 and 1, separated by commas and between curly brackets. The colour string is stored in the .colour$
internal variable.
hsv2rgb.proc
Takes the hue (0-360), saturation (0-100), and value (0-100) that define a colour in the HSV format and calculates the RGB components that describe that same colour. The generated components are stored in the .r
, .g
, and .b
internal variables as values between 0 and 255.
rgb2hex.proc
Takes the red, green, and blue components of a colour in the RGB format (as numbers between 0 and 255) and calculates the six-digit hexadecimal code that describes that same colour. The generated colour code is stored in the .hex$
internal variable, in lowercase characters and with a leading hash.
rgb2hsv.proc
Takes the red, green, and blue components of a colour in the RGB format (as numbers between 0 and 255) and calculates the HSV components that describe that same colour. The generated components are stored in the .h
, .s
, and .v
internal variables as numbers between 0 and 360 for the hue, and between 0 and 100 for the saturation and value.
rgb2praat.proc
Takes the red, green, and blue components of a colour in the RGB format (as numbers between 0 and 255) and calculates the Praat colour string used in the standard praat commands. This string contains the red, green, and blue components of the colour as values between 0 and 1, separated by commas and between curly brackets. The colour string is stored in the .colour$
internal variable.
praat2hex.proc
Takes a colour described using the Praat colour string used in the standard Praat commands and calculates the six-digit hexadecimal code that describes that same colour. The generated colour code is stored in the .hex$
internal variable, in lowercase characters and with a leading hash.
praat2hsv.proc
Takes a colour described using the Praat colour string used in the standard Praat commands and calculates the HSV components that describe that same colour. The generated components are stored in the .h
, .s
, and .v
internal variables as numbers between 0 and 360 for the hue, and between 0 and 100 for the saturation and value.
praat2rgb.proc
Takes a colour described using the Praat colour string used in the standard Praat commands and calculates the RGB components that describe that same colour. The generated components are stored in the .r
, .g
, and .b
internal variables as values between 0 and 255.