RGB-class: Representation of a color as Red, Blue and Green components

Description Objects from the Class Slots Extends Methods Author(s) Examples

Description

This is a simple class that labels a string as being a color of the form # Red, Green and Blue components in hexadecimal form. We use this class to provide methods to convert between different representations.

Objects from the Class

Objects can be created by calls of the form new("RGB", "#RRGGBB").

Slots

.Data:

Object of class "character"

Extends

Class "character", from data part. Class "vector", by class "character", distance 2. Class "data.frameRowLabels", by class "character", distance 2. Class "EnumerationValue", by class "character", distance 2.

Methods

No methods defined with class "RGB" in the signature.

Author(s)

Duncan Temple Lang

Examples

1
showClass("RGB")

omegahat/RGraphicsDevice documentation built on Jan. 18, 2022, 4:37 a.m.