Skip to content

Introduction

This document is mainly used to describe some features and usage of the getHoverColor utils.

Usage

typescript
import { getHoverColor } from '@/utils/common.ts'

getHoverColor('#fff') // => '#000'
getHoverColor('#000') // => '#fff'

Props