公告板
版本库
filestore
活动
搜索
登录
main
/
dataez
dataease
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
Initial commit
wangrong
2026-08-30
4c949c0dc9bcae785c281c9d8125295f09810b15
[dataez.git]
/
core
/
core-frontend
/
src
/
views
/
chart
/
components
/
views
/
util
/
util.ts
1
2
3
4
5
export const reverseColor = colorValue => {
colorValue = '0x' + colorValue.replace(/#/g, '')
const str = '000000' + (0xffffff - colorValue).toString(16)
return '#' + str.substring(str.length - 6, str.length)
}