API
EXAMPLES
INSTALL
SOURCE
API
> LSON
> concept
> function
> object

LAY.Color

LAY.Color represents a color object within a LAY application.
It can be instantiated by any of the below LAY methods:

Within LSON it is used for key-values of (props)[props.md] associated with colors such as "textColor", "backgroundColor", etc.
A brief example of its usage within LSON follows as below:

LAY.run({ props: { backgroundColor: LAY.color('gainsboro') }, "Box": { props: { text: "Hello World", textColor: LAY.rgba(220,50,92, 0.8) } } });