All Mods Resource Packs Data Packs Shaders Modpacks Plugins
MCRGB

MCRGB

by Bacco • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

MCRGB Mod for Minecraft Fabric 1.20.1+

Youtube Trailer

Requirements:

  • Minecraft 1.20.1+
  • Fabric
  • Fabric API

    Reccomended:

  • Cloth Config

Features:

A Colour Picker for Minecraft Blocks!

MCRGB is a client-side Minecraft Mod designed to assist building. It allows you to search for blocks based on the dominant colours in their textures. Press the colour picker key (I by default) to open the colour picker GUI. Colour Picker GUI

HSV, HSL, RGB and Hex Support!

Input your colours using your favourite colour space, and the mod will suggest blocks that closely match that colour. If you are in Creative Mode and have Operator Level Permissions, you can click blocks to give them to yourself.

You can also see the breakdown of a block's colour info by hovering over it. This tells you the percentage each colour takes up in each texture, and which blockstates it corresponds to. Optional: You can also view this info in regular inventories by changing the config.

Tooltip for Pink Concrete Powder with Colour Info

Tooltip for Birch Log with Colour Info

Tooltip for Redstone Lamp with Colour Info

Build using Colour Theory

Funky House Built with Complementary Colours Cottage Built with an Adobe Colour Palette

Easily /give Yourself Dyed Leather Armour

Colour Picker UI with the hex colour "#CEBBED" selected. A preview is shown for leather armour and horse armour

A Player wearing leather armour of the hex colour "#CEBBED"

How it works:

On first launch, MCRGB will generate a file, located in .minecraft/mcrgb_colours/file.json MCRGB attempts to scan every block texture in the game and calculates the dominant colours by grouping together similar pixels based on their euclidean distance in sRGB space, and calculating the mean average of each group. The results are saved in this file. If you ever need to regenerate the file (if you've changed resource packs or added new mods which add more blocks), click the "Refresh" button in the colour picker UI.

When you input a colour to the colour picker, the list of blocks is sorted by the euclidean distance to each of the dominant colours in each texture. Each texture is weighted according to how much of that colour takes up in the texture.

Credits:

Mod created by bacco

Logo created by Whirdle

How to Install MCRGB (Mod)

MCRGB by Bacco is verified for Fabric across Minecraft versions 1.19.2, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.6, 1.21, 1.21.1 (latest release: 0.4+26.3, file size: 692 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.19.2, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.6, 1.21, 1.21.1) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded MCRGB file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
1mo ago 1
26.2
Fabric
2mo ago 1
1.21.11
Fabric
2mo ago 1
1.21.1
Fabric
2mo ago 1
1.20.1
Fabric
2mo ago 1
1.20.1
Fabric
10mo ago 1
1.21.x
Fabric
10mo ago 1
1.21.11
Fabric
10mo ago 1
1.21.11
Fabric
10mo ago 1
1.20.1
Fabric
11mo ago 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.5
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.6
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.6
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21
Fabric
last yr. 1
1.20.6
Fabric
last yr. 1
1.20.4
Fabric
last yr. 1
1.19.2
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.2
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
Updated to 26.3
# MCRGB 0.4

## Features:
  • Added two new colour averaging algorithms:**

  • Mean : Calculates the mean average colour of the entire texture. Best for when the block is being viewed from a distance.
  • Median : Calculates the median colour, which is an approximation of the dominant colour of the texture. Ignores any other colours present in the texture.
  • The legacy MCRGB algorithm remains as the default option. Calculates and displays each distinct colour in the texture. Shows a percentage of how dominant each colour is, in the texture.
  • Added a framework for adding more algorithms in future updates.
  • Colour Averaging Method can be selected in the configuration settings.

  • Added creative mode dragging functionality:**

  • In Creative Mode, you can now drag items from the MCRGB UI straight into your hotbar.
  • Left-click to pick up one item.
  • Middle-click to pick up a full stack.
  • Right-clicking still opens the Block Info GUI
  • This works on vanilla servers and no longer requires Operator Permissions, as it simply emulates the Creative Inventory. In theory, it should work on any server, regardless of server side plugins/permissions, so long as you have access to Creative Mode.
  • You can revert to the old command-based functionality in the configuration settings.
  • You can also switch to "View Only" mode, which disallows spawning in items. Item Spawning Mode is locked to "View Only" when in Survival, Adventure or Spectator Mode.

  • Added clipboard functionality:**

  • Added a new keybind "Quick Search from Clipboard" which is set to "U" by default.
  • Pressing this key will automatically search for a colour, if a valid HEX code is found in your device clipboard. This works regardless of if the UI is already open.
  • With a Block Info GUI open, you can also copy a hex code to your device clipboard.
  • Middle-click on any pixel in the displayed texture, or on any hex code displayed in the side window.

  • Toasts:**

  • System messages from MCRGB, such as "Reloaded colours" or "Copied Hex code to clipboard" no longer appear in the game chat.
  • These now appear as toast notifications in the top right corner of the screen.

  • Porting:**

  • Migrated to Mojang's official deobfuscated code.
  • Ported to Minecraft 26.2
  • Minecraft 26.1 has been skipped, but a port can be made if there is enough demand.
# MCRGB 0.4

## Features:
  • Added two new colour averaging algorithms:**

  • Mean : Calculates the mean average colour of the entire texture. Best for when the block is being viewed from a distance.
  • Median : Calculates the median colour, which is an approximation of the dominant colour of the texture. Ignores any other colours present in the texture.
  • The legacy MCRGB algorithm remains as the default option. Calculates and displays each distinct colour in the texture. Shows a percentage of how dominant each colour is, in the texture.
  • Added a framework for adding more algorithms in future updates.
  • Colour Averaging Method can be selected in the configuration settings.

  • Added creative mode dragging functionality:**

  • In Creative Mode, you can now drag items from the MCRGB UI straight into your hotbar.
  • Left-click to pick up one item.
  • Middle-click to pick up a full stack.
  • Right-clicking still opens the Block Info GUI
  • This works on vanilla servers and no longer requires Operator Permissions, as it simply emulates the Creative Inventory. In theory, it should work on any server, regardless of server side plugins/permissions, so long as you have access to Creative Mode.
  • You can revert to the old command-based functionality in the configuration settings.
  • You can also switch to "View Only" mode, which disallows spawning in items. Item Spawning Mode is locked to "View Only" when in Survival, Adventure or Spectator Mode.

  • Added clipboard functionality:**

  • Added a new keybind "Quick Search from Clipboard" which is set to "U" by default.
  • Pressing this key will automatically search for a colour, if a valid HEX code is found in your device clipboard. This works regardless of if the UI is already open.
  • With a Block Info GUI open, you can also copy a hex code to your device clipboard.
  • Middle-click on any pixel in the displayed texture, or on any hex code displayed in the side window.

  • Toasts:**

  • System messages from MCRGB, such as "Reloaded colours" or "Copied Hex code to clipboard" no longer appear in the game chat.
  • These now appear as toast notifications in the top right corner of the screen.
# MCRGB 0.4

## Features:
  • Added two new colour averaging algorithms:**

  • Mean : Calculates the mean average colour of the entire texture. Best for when the block is being viewed from a distance.
  • Median : Calculates the median colour, which is an approximation of the dominant colour of the texture. Ignores any other colours present in the texture.
  • The legacy MCRGB algorithm remains as the default option. Calculates and displays each distinct colour in the texture. Shows a percentage of how dominant each colour is, in the texture.
  • Added a framework for adding more algorithms in future updates.
  • Colour Averaging Method can be selected in the configuration settings.

  • Added creative mode dragging functionality:**

  • In Creative Mode, you can now drag items from the MCRGB UI straight into your hotbar.
  • Left-click to pick up one item.
  • Middle-click to pick up a full stack.
  • Right-clicking still opens the Block Info GUI
  • This works on vanilla servers and no longer requires Operator Permissions, as it simply emulates the Creative Inventory. In theory, it should work on any server, regardless of server side plugins/permissions, so long as you have access to Creative Mode.
  • You can revert to the old command-based functionality in the configuration settings.
  • You can also switch to "View Only" mode, which disallows spawning in items. Item Spawning Mode is locked to "View Only" when in Survival, Adventure or Spectator Mode.

  • Added clipboard functionality:**

  • Added a new keybind "Quick Search from Clipboard" which is set to "U" by default.
  • Pressing this key will automatically search for a colour, if a valid HEX code is found in your device clipboard. This works regardless of if the UI is already open.
  • With a Block Info GUI open, you can also copy a hex code to your device clipboard.
  • Middle-click on any pixel in the displayed texture, or on any hex code displayed in the side window.

  • Toasts:**

  • System messages from MCRGB, such as "Reloaded colours" or "Copied Hex code to clipboard" no longer appear in the game chat.
  • These now appear as toast notifications in the top right corner of the screen.
# MCRGB 0.4

## Features:
  • Added two new colour averaging algorithms:**

  • Mean : Calculates the mean average colour of the entire texture. Best for when the block is being viewed from a distance.
  • Median : Calculates the median colour, which is an approximation of the dominant colour of the texture. Ignores any other colours present in the texture.
  • The legacy MCRGB algorithm remains as the default option. Calculates and displays each distinct colour in the texture. Shows a percentage of how dominant each colour is, in the texture.
  • Added a framework for adding more algorithms in future updates.
  • Colour Averaging Method can be selected in the configuration settings.

  • Added creative mode dragging functionality:**

  • In Creative Mode, you can now drag items from the MCRGB UI straight into your hotbar.
  • Left-click to pick up one item.
  • Middle-click to pick up a full stack.
  • Right-clicking still opens the Block Info GUI
  • This works on vanilla servers and no longer requires Operator Permissions, as it simply emulates the Creative Inventory. In theory, it should work on any server, regardless of server side plugins/permissions, so long as you have access to Creative Mode.
  • You can revert to the old command-based functionality in the configuration settings.
  • You can also switch to "View Only" mode, which disallows spawning in items. Item Spawning Mode is locked to "View Only" when in Survival, Adventure or Spectator Mode.

  • Added clipboard functionality:**

  • Added a new keybind "Quick Search from Clipboard" which is set to "U" by default.
  • Pressing this key will automatically search for a colour, if a valid HEX code is found in your device clipboard. This works regardless of if the UI is already open.
  • With a Block Info GUI open, you can also copy a hex code to your device clipboard.
  • Middle-click on any pixel in the displayed texture, or on any hex code displayed in the side window.

  • Toasts:**

  • System messages from MCRGB, such as "Reloaded colours" or "Copied Hex code to clipboard" no longer appear in the game chat.
  • These now appear as toast notifications in the top right corner of the screen.
### Changes in v0.3.3:

  • Further improved load times since v0.3.2. Reading and writing colour info to a JSON file is now entirely optional, and off by default.
With the "**Read Colour Info from JSON File**" option set to "**No**", MCRGB will always get it's information directly from the game's textures, significantly improving load times, especially on large modpacks.
  • Added a scrollbar to the texture thumbnails in the Block Info GUI. This only affects blocks with a large number of textures which would previously spill into other parts of the GUI, such as the Monitor block from CC: Tweaked.
  • Added a config option "**Maximum Tooltip Lines**", which now defaults to **15**. This is to avoid overly large tooltips when hovering over items in the MCRGB GUI, or in the inventory with "**Show Block Colours in Tooltips**" set to "**All Contexts**"
  • When scanning textures, or reading/writing JSON, MCRGB now records the time taken and writes it to the Minecraft Log for debugging purposes.
  • Also includes changes from v0.3.2 which were previously unavailable for Minecraft 1.20.1
### Changes in v0.3.3:

  • Further improved load times since v0.3.2. Reading and writing colour info to a JSON file is now entirely optional, and off by default.
With the "**Read Colour Info from JSON File**" option set to "**No**", MCRGB will always get it's information directly from the game's textures, significantly improving load times, especially on large modpacks.
  • Added a scrollbar to the texture thumbnails in the Block Info GUI. This only affects blocks with a large number of textures which would previously spill into other parts of the GUI, such as the Monitor block from CC: Tweaked.
  • Added a config option "**Maximum Tooltip Lines**", which now defaults to **15**. This is to avoid overly large tooltips when hovering over items in the MCRGB GUI, or in the inventory with "**Show Block Colours in Tooltips**" set to "**All Contexts**"
  • When scanning textures, or reading/writing JSON, MCRGB now records the time taken and writes it to the Minecraft Log for debugging purposes.
  • Also includes changes from v0.3.1 and v0.3.2 which were previously unavailable for Minecraft 1.21.1
### Changes in v0.3.3:

  • Further improved load times since v0.3.2. Reading and writing colour info to a JSON file is now entirely optional, and off by default.
With the "**Read Colour Info from JSON File**" option set to "**No**", MCRGB will always get it's information directly from the game's textures, significantly improving load times, especially on large modpacks.
  • Added a scrollbar to the texture thumbnails in the Block Info GUI. This only affects blocks with a large number of textures which would previously spill into other parts of the GUI, such as the Monitor block from CC: Tweaked.
  • Added a config option "**Maximum Tooltip Lines**", which now defaults to **15**. This is to avoid overly large tooltips when hovering over items in the MCRGB GUI, or in the inventory with "**Show Block Colours in Tooltips**" set to "**All Contexts**"
  • When scanning textures, or reading/writing JSON, MCRGB now records the time taken and writes it to the Minecraft Log for debugging purposes.
### This is a port of MCRGB to Minecraft 1.21.11
In addition to porting to 1.21.1, there is also one bug fix.

### Changes in v0.3.2:
This version includes a temporary workaround to load-time issues.
MCRGB now by default re-calculates block colours on every launch instead of reading from a JSON file.
This should speed up load times for people with a large number of mods.
The new config option "Read Colour Info from JSON File" allows players to revert to previous behavior.
A more permanent fix will be in a future release.
### Changes:

  • Fixed a bug: MCRGB for 1.20.1 requires Java 21 on version 1.20.1 which is a Java 17 version?
  • Fixed a bug: MCRGB was ignoring non-directional quads on block models.
This was a bug that has gone unnoticed since the mod's creation, causing MCRGB to exclude many partial blocks such as Iron/Copper Bars, Flowers, some Redstone components, Chains, Lanterns, etc. These blocks will now have their colours analysed and will show up correctly with all other blocks.
### Changes:

  • Compatible with 1.21.9 and 1.21.10
  • Fixed a bug: MCRGB was ignoring non-directional quads on block models.
This was a bug that has gone unnoticed since the mod's creation, causing MCRGB to exclude many partial blocks such as Iron/Copper Bars, Flowers, some Redstone components, Chains, Lanterns, etc. These blocks will now have their colours analysed and will show up correctly with all other blocks.
This is a port of v0.3 for 1.21.6, 1.21.7 and 1.21.8
This is a port of v0.3 for Minecraft 1.21.5
This is a backport of v0.3 for Minecraft 1.20.1
## New Logo!
MCRGB has an awesome new logo made by [Whirdle](https://linktr.ee/whirdlel)!
![icon](https://github.com/user-attachments/assets/14d3b34c-23c1-4b06-b831-07f1b9fed552)

Huge thanks to Whirdle for creating the logo and allowing me to use it!
They make really amazing Minecraft builds so please check them out: https://linktr.ee/whirdle

## New Features
Version 3.0 is the biggest update to MCRGB since launch! I've been working on some of these features for aaaages and happy to finally share them!
![image](https://github.com/user-attachments/assets/65113fd8-5cff-4026-9379-a783d71c5e49)

### Saved Palettes
  • Easily create colour palettes which you can reference later.
  • Left-click any of the slots to set it to the currently selected colour.
  • Reset a slot to white by right-clicking.
  • Middle-click any slot to select it and search for blocks of that colour.
  • Creating a Palette**
![Creating a Palette](https://github.com/user-attachments/assets/1421cb79-2377-406a-901f-54d3a8931bae)
  • Picking Colours from Saved Palettes**
![Picking Colours from Saved Palettes](https://github.com/user-attachments/assets/5cecd9f4-3507-4326-afe4-f03f176c766b)
  • Use the buttons on the side to edit or delete existing palettes**
![Palette edit and delete buttons](https://github.com/user-attachments/assets/f8987959-cf91-4801-af23-b282304843b4)

### Colour Wheel
  • Click the colour wheel button to switch between RGB sliders and a colour wheel.
  • The colour wheel can be used instead of sliders when searching for blocks or creating palettes.
  • Note: The colour wheel looks bad in the gif below due to video compression. It's a lot clearer in game!**
![Colour wheel](https://github.com/user-attachments/assets/826a9212-f19f-4c77-aa05-4cd683546d97)

### Block Info Screen
  • Right-click any block in the MCRGB menu to open that block's Block Info Screen.
  • Here you can view the colour details for that block. Click on any colour in the list to select that colour.
  • You can also pick individual pixel colours from the texture.
  • Select from any of the block's alternate states, side textures, etc.
![Demonstrating Block Info Screen](https://github.com/user-attachments/assets/04d4b40a-e220-48a1-8862-927d8593edce)

### Refine Search
  • Refine your results with text-based search
![Refine search](https://github.com/user-attachments/assets/c77930cd-d385-4b3c-a979-fe2435452ce7)


MCRGB Icon
Download MCRGB
Select game version
Select platform