proc color(self: ColorRect): Color {.gcsafe, locks: 0, raises: [], tags: [].}
proc color=(self: ColorRect; val: Color) {.gcsafe, locks: 0, raises: [], tags: [].}