EU4 rgb Console Command

Documentation and detailed help with working examples.
rgb Command
DeveloperDLC: None

This command prints a specified amount of random RGB (color) values to the game.log file.

rgb [Amount]

Parameters

Amount
Number

The amount of random colors (RGB values) to print to the game.log file.

Examples

Here are examples of how to use rgb.

rgb 25

This command would print 25 random RGB codes to the game.log file at \Documents\Paradox Interactive\Europa Universalis IV\logs.

Looking for EU4 console commands?

Search our complete list!

Quick Overview

The rgb command in Europa Universalis IV is used to output a specified amount of random color values to the game log (game.log).

It generates those values based on the Red, Green, and Blue (RGB) spectrum.

This command is more useful for developers than players. It helps in debugging issues related to colors in the game.

In-Depth Description

The rgb command in Europa Universalis IV allows you to generate random RGB (Red, Green, Blue) color values, which are then printed out in the game.log file.

This file is generally present in the game's installation directory.

The function to call the command would look like rgb 1 if you want to generate 1 random set of RGB values, or rgb 10 if you want to generate 10 random sets, and so on.

The command itself doesn't directly affect gameplay.

However, it can be helpful for modders or even players who wish to personalize their experiences. Since the game uses RGB color codes to define the colors of everything from countries and provinces, this allows you to test different colors fairly quickly.

The RGB color codes you generate can then be used to modify the map's aesthetics in the game files.

How to Open the Command Console

In EU4, cheats are executed from the command console, a text box that you type commands into.

To open the command console press the ~(tilde) key, which is typically located under ESC (escape).

If your keyboard does not have that key, or pressing ~ does not work, try the following keys:

  • ~
  • SHIFT + 2
  • SHIFT + 3
  • ALT + 2 + 1

Type your command into the console, and then press ENTER .