Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/processing/processing
/ setColor
Method
setColor
app/src/processing/app/Settings.java:175–177 ·
view source on GitHub ↗
(String attr, Color what)
Source
from the content-addressed store, hash-verified
173
174
175
public
void
setColor(String attr, Color what) {
176
set(attr,
"#"
+ PApplet.hex(what.getRGB() & 0xffffff, 6));
177
}
178
179
180
// identical version found in Preferences.java
Callers
1
setupGUI
Method · 0.45
Calls
2
set
Method · 0.95
hex
Method · 0.95
Tested by
no test coverage detected