Forum Discussion
Jess971999
Mar 20, 2020Copper Contributor
Formular
Hi, can somebody please tell me how to convert binary to colour.
7 Replies
- Hello,
You can check the link below.. I think its close to what you want
https://www.excelarticles.com/excelbook/match_web_colors_with_hex2dec.html- Jess971999Copper Contributor
Abiola1 Thank you!!! That helped so much.
- Glad to help.
Regards
- SaviaIron Contributor
Jess971999 I have no idea what you mean. Could you explain further please?
- Jess971999Copper Contributor
Savia Yes, sorry. I need a formula on Excel that converts a binary code to a colour. A formula like =DEC2BIN(A1) but with binary to colour.
- SaviaIron ContributorWhat are you expecting to see the output of the formula as? The name of a colour? Colouring the cell itself?
You can use conditional formatting to have a cell's R, G, or B value match its value from 0-255, for example. But there's no formula that does what you want exactly. I'd probably try a custom conditional formatting rule that uses some kind of colour scale based on the value of the cell (switched to decimal).