diff --git a/api/source/Room.md b/api/source/Room.md
index 033348f2..0f169d7f 100644
--- a/api/source/Room.md
+++ b/api/source/Room.md
@@ -174,7 +174,7 @@ Can be a RoomPosition object or any object containin
name (optional) : string
The name of a new flag. It should be unique, i.e. the Game.flags
object should not contain another flag with the same name (hash key). If not defined, a random name will be generated. The maximum length is 100 characters.
===
-color (optional) : string
+color (optional) : number
The color of a new flag. Should be one of the COLOR_*
constants. The default value is COLOR_WHITE
.
===
secondaryColor (optional) : string