Api

StringutilsRandomcolor

OpenAPI > StringUtils > randomColor

OpenAPI.StringUtils.randomColor property

随机颜色

Signature:

static get randomColor(): string;

Example

const randomColor = randomColor() // 返回 '#ffffff'

Copyright © 2021 - 2025