answersLogoWhite

0

A hex color is represented by three different levels of the RGB (Red, Green and Blue) colours. Each of which is given a level of shade. To represent this the colors usually have a hexadecimal value for each of the RGB which is made up of two numbers each ranging from 0-f so ff would represent completely on. If you were to have all three red, green and blue completely on or ffffff then you would have white. The opposite would be 000000 for black and there are a multitude of colors to be had by mixing them all.

To convert the hex colors to Binary which is what the computer would store as in the memory then you would have f as 1111, ff as 11111111 and so on. So ff being a binary equivalent of eight bits that means for each of the three colors or shades you have (RGB) you must have a byte. So if one pixel contains three colors then each pixel must take up three bytes.

A typical screen resolution of 1024 by 768 pixels would take up 2,359,296 bytes or a little over two megabytes. This is of course assuming you have an image with a 24 bit format.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How can I use ffmpeg to convert a video to the yuv420p pixel format?

To convert a video to the yuv420p pixel format using ffmpeg, you can use the following command: ffmpeg -i inputvideo.mp4 -pixfmt yuv420p outputvideo.mp4 This command will convert the input video to the yuv420p pixel format and save it as the output video in mp4 format.


How do you compare an image pixel by pixel in C plus plus?

In order to compare images pixel by pixel, both images must be uncompressed bitmaps of the same size, dimensions and colour depth. If you're looking for an exact match, then you simply compare the pixels in tandem (you can treat both images as being an array of int to speed up the process).


What is used to represent a single pixel in a video memory?

a scalar


How many pictures can a 1gb memory card hold in a 13.6 mega pixel camera?

1GB MEMORY CARD CAN HOLD 150 TO 200 SNAP IN A 13.6 MEGA PIXEL CAMERA.


Graphic images where each pixel is bit-mapped and take up more memory?

Graphic images where each pixel is bit-mapped and take up more memory?


How much will a 8gb card hold at 16 mega pixels?

In uncompressed raw format, a 16-megapixel image will take 64 MB (4 bytes per pixel, including the alpha channel), at which rate an 8 GB card will hold about 120 images. However, if your camera stores the images in JPEG or some other compressed format, the card will hold far more images.


What is the memory size of 128128 pixel image?

the size of memory is basically depend upon the pixel in that particular picture the size for 128*128 picture will up to some kilo bites. but as we increasing the pixel the resolution and memory size and quality all the things will increase . and a picture which has 20MP resolution is better than 5MP


Why doesn't it work when i try to go on minecraft?

It will say pixel format not accelerated.


How many pictures on 2GB memory card in a 5.1 mega pixel digital camera?

A camera with this pixel setting will have more room, but the images may not be as crisp as ones with a bigger pixel count. You can fit approximately 200 pictures of this kind on a 2 GB memory card.


What shape is a pixel?

Can be a square or a circle, depending on how far you look at it.


How many real pictures on a digital 4.0 GB memory stick on a 12.0 mega pixel camera hold?

How many pictures can a 4.0GB memory stick hold on a 12.0 mega pixel digital camera?


How many pictures can be taken on a 16GB memory card in an 18 mega pixel digital camera?

See the Question: How many pictures on 4GB memory card in 10.2 mega pixel digital camera?(How_many_pictures_on_4GB_memory_card_in_10.2_mega_pixel_digital_camera)