参考 setBlue()

setBlue()

设置颜色的蓝色值。

范围取决于 colorMode()。在默认的 RGB 模式下,它的值介于 0 到 255 之间。

示例

语法

setBlue(blue)

参数

blue
数字:

新的蓝色值

This page is generated from the comments in src/color/p5.Color.js . Please feel free to edit it and submit a pull request!

相关参考