• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

kwm1800

Second Lieutenant
64 Badges
Jul 7, 2015
118
11
  • Arsenal of Democracy
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Cities: Skylines Deluxe Edition
  • Warlock: Master of the Arcane
  • Stellaris: Apocalypse
  • Sword of the Stars II
  • Sword of the Stars
  • Ship Simulator Extremes
  • Semper Fi
  • Rome Gold
  • Victoria: Revolutions
  • Majesty 2
  • Cities in Motion
  • A Game of Dwarves
  • Darkest Hour
  • Europa Universalis III
  • Divine Wind
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Lead and Gold
  • The Kings Crusade
  • Magicka
  • Majesty 2 Collection
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Green Cities
  • BATTLETECH
  • Knights of Honor
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Gold Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Pillars of Eternity
  • Pride of Nations
  • Cities: Skylines
  • Rome: Vae Victis
  • Victoria 2
I looked at the infrared laser, and I see


color = { 1.0 0.4 0.4 0.2 }


This does not tell me much about the color system. It does not seem to be CMYK at least.
 
Answered this in reddit, but in case anyone else is interested:

It varies. Mostly HSV, but occasionally plain ole RGB. I think though you're getting caught up on the fact that the game (for the most part) defines color parameters in a numerical percentage of a value.

English translation:

Using your example, if we're talking RGB and color = { 1.0 0.4 0.4 0.2 } then:

1.0 = 100% of 255 = 255
0.4 = 40% of 255 = 102
0.4 = 40% of 255 = 102
0.2 = 20% of 255 = 51 on alpha.

So this color would be R:255 G:102 B:102 A:51 which is a lovely shade of coral (#ff6666 in html if u want to look it up)


If we're talking HSV and color = { 1.0 0.4 0.4 0.2 } then:

1.0 = 100% of 359 = 359
0.4 = 40%
0.4 = 40%
0.2 = 20% on alpha.

So this color would be H:359 S:40 V:40 (R:102 G:61 B:62) which is somewhat ugly shade of redish brown (#663d3e in html if u want to look it up)
 
  • 1
Reactions: