Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rgb(5) — SunOS 4.1.3B

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

coloredit(1)

RGB(5)  —  FILE FORMATS

NAME

rgb − available colors (by name) for coloredit

SYNOPSIS

.rgb

$HOME/.rgb

/usr/lib/.rgb

AVAILABILITY

Available only on Sun 386i systems running a SunOS 4.0.x release or earlier.  Not a SunOS 4.1 release feature. 

DESCRIPTION

.rgb is an ASCII file containing consecutive lines terminated by newlines.  Each line starts with three integers, each in the range 0-255.  These integers are the RGB equivalent for the color named on the same line.  At least one tab character delimits the last integer from the name field.  The coloreditor searches for this file, first in the current directory; next, in the users home directory; and finally, in /usr/lib.  The user can add to or delete from the .rgb file that he or she has access to, thus changing the available color table for subsequent invocations of coloredit. 

EXAMPLES

The following is an example of a .rgb file. 

0 0 0Black
0 0 255Blue
95 159 159Cadet Blue
66 66 111Cornflower Blue
107 35 142Dark Slate Blue

SEE ALSO

coloredit(1)

Sun Release 4.1  —  Last change: 19 February 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026