求rgba滤镜值的计算公式

作者:Jasmine - 2016年09月14日
html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" c charset=utf-8" />
<title>无标题文档</title>
</head>

<body>
<script>
alert(Math.floor(0.8* 255).toString(16))
</script>
</body>
</html>


本文作者: Jasmine

本文链接: https://www.jianbaizhan.com/article/494

版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 3.0 许可协议。转载请注明出处!


 请勿发布不友善或者负能量的内容。审查将对发布广告等违规信息进行处罚!