@feds01/graphika / utils/colours
utils/colours
Variables
default
ts
default: {
BLACK: string;
DEBUG: string;
DEEP_PURPLE: string;
ELECTRIC_BLUE: string;
EMERALD_GREEN: string;
FLAMINGO_RED: string;
GREY: string;
PURPLE: string;
schemes: {
s1: string[];
s2: string[];
s3: string[];
s4: string[];
s5: string[];
s6: string[];
s7: string[];
s8: string[];
};
};Defined in: utils/colours.ts:30
Type Declaration
| Name | Type | Default value | Defined in |
|---|---|---|---|
BLACK | string | "#000000" | utils/colours.ts:46 |
DEBUG | string | "#00b200" | utils/colours.ts:51 |
DEEP_PURPLE | string | "#3a243b" | utils/colours.ts:45 |
ELECTRIC_BLUE | string | "#009FE5" | utils/colours.ts:44 |
EMERALD_GREEN | string | "#008816" | utils/colours.ts:43 |
FLAMINGO_RED | string | "#FF6782" | utils/colours.ts:42 |
GREY | string | "#5e5e5e" | utils/colours.ts:48 |
PURPLE | string | "#800080" | utils/colours.ts:47 |
schemes | { s1: string[]; s2: string[]; s3: string[]; s4: string[]; s5: string[]; s6: string[]; s7: string[]; s8: string[]; } | - | utils/colours.ts:31 |
schemes.s1 | string[] | - | utils/colours.ts:32 |
schemes.s2 | string[] | - | utils/colours.ts:33 |
schemes.s3 | string[] | - | utils/colours.ts:34 |
schemes.s4 | string[] | - | utils/colours.ts:35 |
schemes.s5 | string[] | - | utils/colours.ts:36 |
schemes.s6 | string[] | - | utils/colours.ts:37 |
schemes.s7 | string[] | - | utils/colours.ts:38 |
schemes.s8 | string[] | - | utils/colours.ts:39 |
Functions
rgba()
ts
function rgba(hex, opacity): string;Defined in: utils/colours.ts:13
src/utils/colours.ts
Module description:
This is file module is used for storing the various colours available for making graphs and charts.
Parameters
| Parameter | Type |
|---|---|
hex | string |
opacity | number |
Returns
string
Author
Alexander. E. Fedotov