किसी रंग का लाल घटक सेट करता है।
सीमा colorMode() पर निर्भर करती है। डिफ़ॉल्ट RGB मोड में यह 0 और 255 के बीच है।
उदाहरण
सिंटैक्स
setRed(red)
पैरामीटर्स
red
Number:
नया लाल मान।
This page is generated from the comments in src/color/p5.Color.js . Please feel free to edit it and submit a pull request!