green += Math.round((255 - green) * tint); blue += Math.round((255 - blue) * tint); red = red.toString(16); green = green.toString(16); blue = blue.toString(16); return `#${red}${green}${blue}` } }, // 获取阴影色调颜色 getShadeColor(color, shade) { let red = parse...
blue += Math.round(tint * (255 - blue)) red = red.toString(16) green = green.toString(16) blue = blue.toString(16) return `#${red}${green}${blue}` } } const shadeColor = (color, shade) => { let red = parseInt(color.slice(0, 2), 16) let green = parseInt(color.slice(...
green+=Math.round(tint*(255-green)) blue+=Math.round(tint*(255-blue)) red=red.toString(16) green=green.toString(16) blue=blue.toString(16)return`#${red}${green}${blue}` } } const shadeColor=(color, shade)=>{ let red=parseInt(color.slice(0,2),16) let green=parseInt(color.slic...
blue+=Math.round(tint*(255-blue)) red=red.toString(16) green=green.toString(16) blue=blue.toString(16) return`#redred{green}${blue}` constshadeColor=(color,shade)=>{ red=Math.round((1-shade)*red) green=Math.round((1-shade)*green) blue=Math.round((1-shade)*blue) red=red.toStri...
let blue= parseInt(color.slice(4, 6), 16) red= Math.round((1 - shade) *red) green= Math.round((1 - shade) *green) blue= Math.round((1 - shade) *blue) red= red.toString(16) green= green.toString(16) blue= blue.toString(16)return`#${red}${green}${blue}` ...
blue =Math.round((1- shade) * blue) red = red.toString(16) green = green.toString(16) blue = blue.toString(16)return`#${red}${green}${blue}`}constclusters = [theme]for(leti =0; i <=9; i++) { clusters.push(tintColor(theme,Number((i /10).toFixed(2))) }...
round((1 - shade) * green) blue = Math.round((1 - shade) * blue) red = red.toString(16) green = green.toString(16) blue = blue.toString(16) return `#${red}${green}${blue}` } const clusters = [theme] for (let i = 0; i <= 9; i++) { clusters.push(tintColor(theme,...
2.1.1241 Part 1 Section 20.1.2.3.31, shade (Shade) 2.1.1242 Part 1 Section 20.1.2.3.33, sysClr (System Color) 2.1.1243 Part 1 Section 20.1.2.3.34, tint (Tint) 2.1.1244 Part 1 Section 20.1.3.2, audioFile (Audio from File) 2.1.1245 Part 1 Section 20.1.3.3, end (Audio End Tim...
2.1.1241 Part 1 Section 20.1.2.3.31, shade (Shade) 2.1.1242 Part 1 Section 20.1.2.3.33, sysClr (System Color) 2.1.1243 Part 1 Section 20.1.2.3.34, tint (Tint) 2.1.1244 Part 1 Section 20.1.3.2, audioFile (Audio from File) 2.1.1245 Part 1 Section 20.1.3.3, end (Audio E...
blue += Math.round(tint * (255 - blue)) red = red.toString(16) green = green.toString(16) blue = blue.toString(16) return `#${red}${green}${blue}` } } const shadeColor = (color, shade) => { let red = parseInt(color.slice(0, 2), 16) ...