Api

MethodGetrandomcolor

OpenAPI > Method > getRandomColor

OpenAPI.Method.getRandomColor() method

随机颜色

Signature:

static getRandomColor(): string;

Returns:

string

Example

const randomColor = OpenAPI.Method.getRandomColor() // 返回 "#FFFFFF"

Copyright © 2021 - 2025