This repository can be added as an extension in MakeCode.
- open https://makecode.mindstorms.com/beta
- click on New Project
- click on Extensions under the gearwheel menu
- search for https://github.com/theb0nny/makecode-ev3-ht-color-sensor-v2 and import
This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.
- for PXT/ev3