* Returns a random color space name from the worldwide accepted color spaces. * Source: https://en.wikipedia.org/wiki/List_of_color_spaces_and_their_uses * * @example * faker.color.space() // 'sRGB' * * @since 7.0.0
()
| 230 | * @since 7.0.0 |
| 231 | */ |
| 232 | space(): string { |
| 233 | return this.faker.helpers.arrayElement(this.faker.definitions.color.space); |
| 234 | } |
| 235 | |
| 236 | /** |
| 237 | * Returns a random CSS-supported color function name. |
no test coverage detected