No problem, all you have to do is to get the data out of the current row-data.
This is able in 2-ways —> dataset or data-collection - code.
How i imagine the scenario.
You have dynamic page. On that page for example you have a button.
By pressing that button you will be redirected for example to next dynamic page.
But what is a dynamic page?
It is just the reflection of your database wich is connected trough (with) a dataset.
Sooooooo, after clicking or by clicking on that button you can ask the —> dataset for example for “currentItem”. When you got your “currentItem”, you should be able to get the right row and column of the database.
Now you are able to find the right data.
I think the rest you will do by yourself.
In the last reference (column) of your database, you have for example your COLOR-HEX-CODES.
So just ask for the last ROW of the CURRENT-ITEM-DATA.
That should be possible.