0

I would like to make something like this: https://www.mattgroeber.com/utilities/random-color-generator a random color generator based on HSL color format with upper and lower limits. so generating a random nr between 40-85% for instance. I cant really find out much about generate random in mendix besides this post https://community.mendix.com/link/space/app-development/questions/104300 pointing towards the documentation or Random and Round https://docs.mendix.com/refguide/mathematical-function-calls/#5-random https://docs.mendix.com/refguide/mathematical-function-calls/#4-round edit 1: going to give this JS a go https://stackoverflow.com/questions/1527803/generating-random-whole-numbers-in-javascript-in-a-specific-range

asked

Jason Teunissen

1 answers

0

this seems to be working

make a little helper utility MF, :D

`floor(random() * ($Max - $Min +1)) + $Min`

answered

Jason Teunissen