Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ contrasting
Method
contrasting
source/core/StarColor.cpp:481–485 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
479
}
480
481
Color Color::contrasting() {
482
Color c = *this;
483
c.setHue(c.hue() + 120);
484
return c;
485
}
486
487
Color Color::complementary() {
488
Color c = *this;
Callers
nothing calls this directly
Calls
2
setHue
Method · 0.80
hue
Method · 0.80
Tested by
no test coverage detected