Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

ideas on how to roll dice so that show as different colors?

need a (easy) way to roll  2 dice ..(2d12) .. but need to have them shown as two different colors.. so you can call one a 'good' and one a 'bad'...  any suggestions ?   thanks
1722317837
Kraynic
Pro
Sheet Author
[[1d12cf<12]],[[1d12cs>1]]   Would show the left highlighted in red (except on a 12 when it would be blue) and the right always highlighted in green (except on a 1 when it would be blue). Alternatively, you could use the dice roller (grid) to roll a 12 sided die.  Then you can drag the roll from the chat to the vtt to generate a rollable token of that die which will match your dice color.  Change your dice color, roll again, and drag out another rollable token in the new color.  Now, you can group select the 2 dice, right click on them, and through the multisided token menu, choose random side.  That will roll those dice.  They won't be different colors in chat, but the 2 different colors on the dice tokens will remain.  I think you need the "enable advanced dice" option checked for this to work.
Alternatively, you could use some CSS styling to change the appearance of the rolls - [[[1d12]]](#" style=" color: white; background-color: green; padding: 0px 3px) [[[1d12]]](#" style=" color: white; background-color: red; padding: 0px 3px)   for a simple example.
i think i should have said that it was going to be part of a character sheet   .. as a 'button' and used for most rolls in the sheet.. 
1722347987

Edited 1722348065
vÍnce
Pro
Sheet Author
If it's part of a sheet you could customize the sheet's roll template. <a href="https://wiki.roll20.net/Building_Character_Sheets/Roll_Templates" rel="nofollow">https://wiki.roll20.net/Building_Character_Sheets/Roll_Templates</a> Your roll would include something like {{good=[[1d12]]}} {{bad=[[1d12]]}} in the macro. The roll template would have the necessary html and css to display the desired colors and layout for each {{key=value}} pair.&nbsp; This only works with the rolls using the sheet's roll template of course and note that 3d dice only show the originating gm or player's in-game color. ;-(