From 158112afdaee14388132bdfdae27c66e8b24f4c5 Mon Sep 17 00:00:00 2001 From: Josh Freeman Date: Tue, 18 Sep 2018 12:44:19 +0100 Subject: [PATCH] Update UIColor.md --- research/UIColor.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/research/UIColor.md b/research/UIColor.md index 429054526..b34dc531f 100644 --- a/research/UIColor.md +++ b/research/UIColor.md @@ -29,31 +29,31 @@ Taking a small snippet: - Before: `Bio` - After: `<72>F201FA<73>F201FBBio<73>01<72>01` -Currently we think 72 = foreground colour and 73 = background color for when the new "Skins" come and colours need to work on a variety of different UI themes. +> At this time we're not sure what 73 is for. -Focusing on these values, we need to remove the first byte: F2 +Focusing on these values, **we need to remove the first byte: F2** - Before: `Bio` - After: `<72>01FA<73>01FBBio<73>01<72>01` -After that, convert the HEX values to DEC: +**After that, convert the HEX values to DEC:** - Before: `Bio` - After: `<72>506<73>507Bio<73>01<72>01` In Patch 4.4 a new file was added: [UIColor.csv](https://github.com/viion/ffxiv-datamining/blob/master/csv/UIColor.csv) -If our guess of Foreground/Background is correct, then in `UIColor: Col 1 = Foreground and Col 2 = Background, grabbing the rows related to our decimal values and the correct column we get: +If our guess of Foreground/Background is correct, then in `UIColor`: Col 1 = Foreground and Col 2 = Background, grabbing the rows related to our decimal values and the correct column we get: - Before: `Bio` - After: `<72>4294928127<73>4294174719Bio<73>01<72>01` -And we can convert these values from DEC to HEX: +**And we can convert these values from DEC to HEX:** - Before: `Bio` - After: `<72>FFFF66FF<73>FFF3E7FFBio<73>01<72>01` -The hex can contain the alpha transparency, so if the value is a 8 character hex, we only care about the first 6. +The hex can contain the alpha transparency, so if the value is a 8 character hex, **we only care about the first 6.** - Before: `Bio` - After: `<72>FFFF66<73>FFF3E7Bio<73>01<72>01` @@ -73,7 +73,7 @@ Remove 73 as it doesn't seem to do much right now: - Before: `Bio` - After: `Bio` -And there we have it! +*And there we have it!* ---