Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benfry/processing4
/ getHexColor
Method
getHexColor
app/src/processing/app/ui/ColorChooser.java:145–147 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
143
144
145
public
String getHexColor() {
146
return
"#"
+ PApplet.hex(red, 2) + PApplet.hex(green, 2) + PApplet.hex(blue, 2);
147
}
148
149
150
public
class
ColorListener implements DocumentListener {
Callers
3
updateHex
Method · 0.95
run
Method · 0.80
PreferencesFrame
Method · 0.80
Calls
1
hex
Method · 0.95
Tested by
no test coverage detected