Labs includes new features that are still in the experimental phase while we are collecting feedback on them in order to improve our service. These features may change without notice but we will always endeavor to ensure that changes won’t break your elections. If you have comments or suggestions, please let us know at info@rcv123.org.
RCV123 has recently added two major Labs features:
For more information about these features, see the New features page.
If you have a ballot that uses voter codes (whether generated or uploaded), you can include the code in the URL. This is particularly useful if you have a mixed election where you will distribute codes on paper to in-person attendees and distribute the urls with included codes by mail merge to remote attendees. To use this feature, add ?vc=VOTER-CODE to the end of the ballot URL, where ?vc= is literal text and you replace VOTER-CODE with each voter’s code.
If you are embedding your ballot or results in your website, you can style them to match your site. To do this append ?embed=true&style=STYLE-SPEC to the end of the URL, where ?embed=true&style= is literal text and you replace STYLE-SPEC with a style specification as described below.
The style specification consists of a series of attribute name-value pairs specifying the specific style values. Each pair consists of an attribute name followed by a value in brackets.
| mode | Specifies if you want light mode (the default) or dark mode (light text on a dark background). Can be either mode[dark] or mode[light]. |
| color | Theme color used for buttons and titles as a six-digit hexadecimal RGB value. |
| bg | Page background color in RGB. |
| font | Font to use or a list of fonts. This can be a generic CSS name like font[monospace] or the name of a specific font like font[Courier] or both mode[Courier,monospace]. RCV123 will check if the first listed font is on Google Fonts, and if it is, your ballot will link to it. If you use a named font, it’s recommended you include serif or sans-serif as a fallback in case your named font is not available. Note that Google Fonts treats font names as case sensitive. |
| radius | Border radius for buttons as an integer number of pixels. border[0] will use square button and border[100] will use capsule-shaped buttons. |
The default color values are chosen based on your selected mode. Text color and button text are automatically set based on the mode: white text for dark mode, dark text for light mode. If you set the background to a dark color, you should also specify mode[dark] to ensure text and other elements remain visible and readable.
The default display settings are: style=mode[light]color[006AD5]bg[ffffff]font[sans-serif]radius[8]
If you want red theme color on your embedded ballot, you could use: ?embed=true&style=color[ff0000]
For a dark background with light text, include dark mode: ?embed=true&style=mode[dark]bg[1a1a1a]color[4a9eff]