Skip to content

useRandomHexColor

Introduction

随机生成HEX色值的颜色

Basic Usage

ts
import { useRandomHexColor } from '@flypeng/tool/browser';

Type Declaration

ts
/**
 * 随机生成HEX色值的颜色
 * @returns
 */
declare function useRandomHexColor(): string;

Released under the MIT License.