MCPcopy 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
481Color Color::contrasting() {
482 Color c = *this;
483 c.setHue(c.hue() + 120);
484 return c;
485}
486
487Color Color::complementary() {
488 Color c = *this;

Callers

nothing calls this directly

Calls 2

setHueMethod · 0.80
hueMethod · 0.80

Tested by

no test coverage detected