Java Code Examples for net.runelite.client.util.ColorUtil#toHexColor()
The following examples show how to use
net.runelite.client.util.ColorUtil#toHexColor() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: GrandExchangeOfferSlot.java From plugins with GNU General Public License v3.0 | 4 votes |
private String htmlTooltip(String value) { return "<html><body style = 'color:" + ColorUtil.toHexColor(ColorScheme.LIGHT_GRAY_COLOR) + "'>Progress: <span style = 'color:white'>" + value + "</span></body></html>"; }
Example 2
Source File: GrandExchangeOfferSlot.java From plugins with GNU General Public License v3.0 | 4 votes |
private String htmlLabel(String key, String value) { return "<html><body style = 'color:white'>" + key + "<span style = 'color:" + ColorUtil.toHexColor(ColorScheme.LIGHT_GRAY_COLOR) + "'>" + value + "</span></body></html>"; }
Example 3
Source File: GrandExchangeOfferSlot.java From runelite with BSD 2-Clause "Simplified" License | 4 votes |
private String htmlTooltip(String value) { return "<html><body style = 'color:" + ColorUtil.toHexColor(ColorScheme.LIGHT_GRAY_COLOR) + "'>Progress: <span style = 'color:white'>" + value + "</span></body></html>"; }
Example 4
Source File: GrandExchangeOfferSlot.java From runelite with BSD 2-Clause "Simplified" License | 4 votes |
private String htmlLabel(String key, String value) { return "<html><body style = 'color:white'>" + key + "<span style = 'color:" + ColorUtil.toHexColor(ColorScheme.LIGHT_GRAY_COLOR) + "'>" + value + "</span></body></html>"; }