# The jcolrgb Colour Selection Panel

## Introduction

The `jcolrgb` application is just a wrapper around the `j:prompt_colour_rgb` procedure in the jprompts.tcl library. It's intended to make it easy to ask the user to select a colour from shell scripts.

This document describes `jcolrgb` version 4.0/4.0.

Copyright and contact information is available in the jstools documentation.

## Invocation and Usage

`jcolrgb` [`-prompt` prompt]`` [`-title` title]

Invoking `jcolrgb` causes a panel to appear that lets the user select a colour by RGB value using three sliders. A patch of the current colour is displayed. When the user clicks OK, the current colour is written to standard output. A label displaying prompt will be at the top of the panel, and it's windowmanager title will be title.

Both prompt and title are localisable.

For more details, see the documentation for `j:prompt_colour_rgb` in the jprompts.tcl library.

## Example

`xterm -bg `jcolrgb -prompt Background:` -title 'xterm colour' &

`

## Evolution

Feel free to report bugs (and feature requests) to me, `<js@calumet.org>`, and I will try to deal with them. Also, feel free to fix bugs or add features on your own and let me know how you did it.`

`