code: public static EnumDyeColor getColor(IBlockAccess world, BlockPos pos)
  	{
  		return world != null && pos != null ? getColor(world.getBlockState(pos)) : EnumDyeColor.WHITE;
  	}
docs: Gets the {@link EnumDyeColor color} for the {@link Block} at world coords.
  
  @param world the world
  @param pos the pos
  @return the EnumDyeColor, null if the block is not {@link ColorComponent}